this post was submitted on 13 Apr 2026
405 points (96.1% liked)

linuxmemes

31039 readers
464 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • Don't come looking for advice, this is not the right community.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
    you are viewing a single comment's thread
    view the rest of the comments
    [–] lightnsfw@reddthat.com 21 points 1 day ago (4 children)

    How are you all just swapping OSes all the time like it's nothing? I have so much shit to configure.

    [–] Cosmonaut_Collin@lemmy.world 3 points 21 hours ago

    But that's the fun part. I switch OSes so I can get back into configuring.

    [–] dihutenosa@piefed.social 1 points 19 hours ago

    And then @lightnsfw@reddthat.com heard about NixOS, where the whole OS, along with all services like Matrix or nginx is configured using a couple of text files, all versioned in Git...

    [–] FauxLiving@lemmy.world 9 points 1 day ago (1 children)

    *Install OS for the first time ever*

    cd ~/.config
    
    git init
    

    *commit changes, push to repo x100000*

    [–] steel_for_humans@piefed.social 7 points 1 day ago (1 children)

    Being a Linux newbie that idea did not even cross my mind. MIND BLOWN. In all seriousness, though, are there ever user secrets in ~/.config? It seems like a crazy & genius idea at the same time.

    (I keep them in two Restic backups)

    [–] FauxLiving@lemmy.world 10 points 1 day ago (2 children)

    Welcome Linux newbie :)

    There can be secrets in .config and so you need to be deliberate about what you commit while also ensuring that your .gitignore file is properly filled out to exclude the files which would have secrets that you don't want to be portable. This requires a bit of work and you will, in the process, learn about how every single application that you use stores its config. You typically don't want to just git add ., though this is a lazy/simple option and can be acceptable if you keep your files and backups secured.

    This kind of configuration will also encourage you to not just hit the 'install plasma-apps metapackage' button and be more deliberate about the software that you install as you will need to individually address the .config files for each application in your settings repo.

    I'd recommend against using Github. First, remember that "the cloud" is just "someone else's computer". Trusting anybody (esp. Microsoft) with critical data is a bad idea. So, sync to a location where you create your good, secure primary backups. The kind you put on a disk in a safe deposit box.

    This is undoubtedly more work than simply re-configuring everything when you fresh install. The payoff is that your system's configuration will be portable and as consistent as possible across all environments and you can safely try new configurations with the trust that you can use git to revert any changes in case you don't like them/it breaks something.

    If you want to do even more work you can maintain a separate set of dotfiles for your desktop machines and the machines where you only interact via terminal. Things like tmux config/plugins, bash/zshrc files, useful scripts and the contents of .local/bin (which is where your user's executable scripts primarily reside) so you can ensure that your remote environments are consistent and equably capable.

    For more reading/search/youtubing on the topic, these kinds of repos are commonly referred to as 'dotfiles' or 'dots'. You will often find people who customize applications that share their dots (more common in the ricing community). Some projects are essentially glorified dotfiles (NVChad for nvim, for example).

    Additionally, if you have more complicated setups that need to drop files into system directories or just in multiple unrelated directories, you can add GNU Stow which basically lets you store all of your dotfiles, binaries, system configurations, etc in a single directory (which you make a git repo) and you configure GNU Stow with the locations where these files need to live and it puts the files there, via symlink with a single command. Stow is an added level of complexity, likely more than most people need, but if you interact with a lot of new machines and need a quick way to configure them all in as much depth as possible... this is one of the ways you can do it.

    [–] lightnsfw@reddthat.com 3 points 16 hours ago

    Thanks for typing all this up

    Thanks for the extensive explanation. I was almost certain you were joking about using Git for that purpose but it seems you are being serious :)

    I will stick to my Restic backups for now. :)

    [–] Evotech@lemmy.world 2 points 1 day ago (1 children)

    Is he fine if it wasn’t for my amount of severe or services.

    If I don’t host any homelab stuff on it it’sd be super fast

    [–] lightnsfw@reddthat.com 3 points 1 day ago (1 children)

    Most of my stuff is hosted on my server but even just on my desktop I have to install/log in to everything. It's a few hours of effort at least.