this post was submitted on 26 Jul 2026
222 points (89.6% liked)
linuxmemes
32239 readers
933 users here now
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
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 of any kind will not be tolerated. This is an LGBTQ+-friendly community -- if that is a problem for you, you should leave.
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 figures
We 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 3 years ago
MODERATORS
It sounds like it's work for the sake of work.
Anybody I ask about the benefits of nix can't really say anything apart from reproducibility and quickly spinning up your system again if you need to.
Those things aren't really problems that need solving, in my opinion. They already have goods solutions. Especially ones that are simpler than nix 😅
I use Arch btw.
For me I like iterating on my home lab so it’s nice knowing I 100% did not forget that I left some port open or service running, it’s all nicely defined in a configuration module I set up.
There’s a low chance I’m going to reuse my configs, but it’s nice I have the option.
Probably the biggest value is it’s all written down nicely in a structured and documented system instead of my old sub folders of just/makefiles and bash scripts and’s inlined configuration.
Then there’s also nice stuff: my config also defines a dashboard for checking the status of my services (when I add a new service, it regenerates as the service is added automatically), I can see which users I created to run in containers, i can experiment with a new desktop environment and just comment out a block to go back.
Documented declarative centralized configuration of all my systems; that value can't be overstated.
Then the fact that I can run any version of any nix package from anywhere at any time with a single terminal command,
the ability to effortlessly and cleanly switch desktop environments with completely no friction or fear,
to be able to roll back by booting into any previous configuration still on disk, or entirely rebuild any older configuration I've tracked in git,
Painless and fearless updates with a rolling release, very little chance of borking and I can never get out of step; doesn't matter if I update once an hour or once a year,
I can share my settings with friends e.g. they can try out my MPV config with a single nix command, or consume my flake outputs and add it to their system with merge/overriding changes,
I can clearly version system dependencies for everything that needs them without shipping containers,
I can define development shell environments which is basically like python venvs with requires profiles but for every language,
I can remotely provision a machine, including disk partitioning and luks and initrd ssh, with a single command,
There's a plethora of modules that make setting up complex services with sensible defaults as simple as "enable = true;",
... I could probably go on for a while but yeah
I guess it's all down to use cases, eh. I have no use for most of that, so using nix makes no sense for me.
And the things that I do do/use in that list, it's just as easy to do without nix, if not easier, such as changing the desktop environment/compositor e.g. Just edit my login shell's config file on a single line, usually. Stuff like that. 👍 No need to learn a whole ass language for that, or learn a new domain language. I like to keep it simple when I can.
Definitely. It's totally not the right thing for everyone But coming from windows, I remember the first time I wanted to switch from gnome to kde on arch resulted in a week of pain before just reinstalling... As someone who's very forgetful, I also tried to write scripts to automate the changes I make on new systems, and remember what weird fixes I applied, where, and why; would usually end in disaster because of how fragile I felt everything was. I tried freebsd, debian, ubuntu, arch, manjaro, mint, even backtrack5 way back when. None of them stuck for one reason or another. NixOS is the first distro I've used long-term as a daily driver, and I'm pretty convinced it will be the only distro I use going forward (in one form or another).
And regarding my point about update frequency, I mention that also because of my experience with arch. Everything is user-error. Reminds me of the straight to jail meme. Update too fast? Borked. Update too slow? Believe it or not, also borked. Update without reading the forum? Straight to borked. Not so much a problem for me now.
But again, totally not for everyone. The vast majority even. But it jives with whatever part of whatever spectrums I'm on.
Here's how you install Gnome in nixos
Here's how you also install gdm
And on Arch:
doas pacman -S gnome gdm😊
It's about remembering that you did. I have no idea what changes I've made to my ancient Ubuntu box so if an upgrade borks my system again I'm SOL
Also, a Nix upgrade won't break your system, unlike Ubuntu
Yeah, better to use Arch or nix to avoid system breakage 👌
Nix, yes, because it has rollbacks
If you need rollbacks, of course. I don't.
You need them like you need fire extinguishers
My Ubuntu LTS upgrade failed. Would have killed for a rollback
You need fire extinguishers if you have something worth saving.
Sometimes I just want to roll back one piece of software. Try doing that with flatpak
I like having the same system configuration across machines and be sure that everything is the same.
I like having all configuration in one place and have comments near the relevant code for extra clarity.
Nixos makes setting up root on ZFS a breeze.
System as nix configuration makes it very easy to track changes with version control and informative commits.
If I fuck up the system I can easily boot into older generation.
System can rebuild only if everything (with proper checks) succeeds giving you a greater confidence in things working.
System reinstals are quick and easy so on hardware failure you can go back to work very quickly without having go spend days and weeks getting your system so vagualy similar state as before.
Nixos made it easy for me to set up mirrored boot so my system will still work fine when one of my boot drives fails.
I get to know what is actually installed on my devices and can easily get rid of it.
No dependency hell.
I can easily try out a program before installing it permanently with nix shell.
Impermanence helps me ensure that every folder and file that I need to keep is documented and keeps them in one place for very easy backups and I have 100% confidence at my backups have everything important.
And many other bigger and smaller things that I can't remember right now. I'd honestly be interested in solutions simpler than nix providing the same or greater benefits with more simplicity.
E: Also, because my original comment wasn't well worded I will mention that I meant that once you learn how to work with nixos things become easier and once you get the setup going it's just there continuing to work since the effort is paid in advance and you continue getting the benefits just like that.