I’ve seen a lot of talks on the benefits of immutable distros (specifically Fedora Silverblue) but it always seemed to me as more of a hassle. Has anyone here been daily driving an immutable distro? Would you say it’s worth the effort of getting into?
How long did it take you to migrate from the distribution before and what’s your experience in this space in general?
I like the idea of a declarative configuration, but I find it hard to justify when Ansible has the potential to do the job 99% as effectively.
Also, what do you feel are the most “killer features” in nixOS?
I’ve recently switched over to NixOS in gradual rollouts to my systems:
Stage 0 (~2h):
Stage 1 (~3d):
Stage 2 (~4d):
Stage 3 (~7d):
Stage 4 (~21d):
Stage 4.5:
Stage 5 (~6d):
Stage 6 (tbd):
Edit 1 (added personal experience): I’m a computer science student and have been using *nix as a daily driver for half a decade, my previous daily driver was arch for about two years. I spend ~1000h/y coding on non-University or Work related projects. I’m at a point where I can typically pick up a the basics of a new language in two to three weeks and write simple programs with it -> library/specific knowledge comes with usage.
Nix(OS)'s biggest killer feature for me is that I never had to update, wait for updates or fix updates after setting up the modules properly and getting CI set up for my git repo -> all systems are build before the update is rolled out, if the build fails, the update won’t be rolled out. Systems decide for themselves when to update and how they should handle them (i.e. server vs. desktop).
That goes for all my systems: Laptop, PC, Servers and VMs
Thanks for the insights :) I appreciated
From my point of view, the strength of NixOS compared to sensible is not that it does the stuff you declared in your configuration. It’s knowing that the description is complete and your system does nothing else (because it’s basically selectively built at boot). Sure, some options have implications that might not be visible at first glance, but nothing can hide in the long term. You have no such guarantee with Ansible.
Ansible is a good solution, but it doesn’t do as much as nix on NixOS.
Yeah, you are right. I kinda see Nix almost as
Terraform
in the sense that “what’s not defined isn’t there”I’ve migrated in a few days, and figured out the basics after a week or so. I’ve been using Linux on-and-off for about 11 years, but I don’t think that’s a requirement for NixOS :p
I think the most killer features are the reproducability and the rollbacks directly from the bootloader to a previous generation. So even if your new system configuration won’t boot anymore, you’ll still be able to revert back without any external tools.
Sounds cool. I think I will stay with Fedora and Ansible for now, it’s good enough™ for me right now. Will be interesting to see if the future will be something like NixOS or Fedora Silverblue