3 ms·
Having absolutely no fear going into an OS upgrade is one of the best parts of nix. If anything breaks, you can go back to your old config and be sure it’ll sti
by bspammer 4y ago
Having absolutely no fear going into an OS upgrade is one of the best parts of nix. If anything breaks, you can go back to your old config and be sure it’ll still work.
Going back to an OS that doesn’t have this property feels like programming without version control.
- actionfromafar 4y agoTouching on that version control and Nix are the same thing. Would be cool if they merged in some system.
- williamvds 4y agoYou may be interested in Flakes[0], which locks your nixpkgs (and other "inputs") to a specific known version. Obligatory disclaimer, they're still in beta, but everyone's using them anyway. There's some ongoing work[1] before they're officially released. [0] https://nixos.wiki/wiki/Flakes https://nixos.wiki/wiki/Flakes [1] https://www.youtube.com/watch?v=JE-vLFMTXxM https://www.youtube.com/watch?v=JE-vLFMTXxM
- williamvds 4y agoDefinitely up there for the top Nix benefits - truly atomic OS upgrades. It's a shame this isn't explicitly highlighted on nixos.org, it's only implied in the "Is the previous version better? Roll back anytime."[0] section, when it's true for both packages and your entire system's config. [0] https://nixos.org/explore.html https://nixos.org/explore.html