Re:Using the same Arch Linux installation for a decade
by sleepydog on Tuesday August 16, 2022 @03:18PM
(#32487485)
I reinstall every 2 years or so simply to re-evaluate what tools I have and decide if I really want them enough to install and configure them again. It's part of the reason I resist systems like Nix, Guix, or even dotfile management tools.
[ Parent
| on HN ]
Re:Using the same Arch Linux installation for a decade
by colordrops on Tuesday August 16, 2022 @04:38PM
(#32488588)
Funny, I've had the opposite experience. Because Nix is so stable and allows risk-free easy experimentation and rollbacks, I'm always re-evaluating and upgrading my system. An added benefit is that the changes you make stick, and you've got a paper trail of the changes in git. You can create a whole set of changes behind a single flag or config file, and flip back and forth between different setups nearly instantaneously.
With Ubuntu I was afraid to change anything because I might break things and not know how to get back to a working state.
With Nix, you are always on a fresh, pristine system, because the file system is mostly read-only and an exact reflection of what's in your config. It's impossible to get crufty.
Re:Using the same Arch Linux installation for a decade
by hollerith on Tuesday August 16, 2022 @03:33PM
(#32487693)
That doesn't make much sense because Nix doesn't prevent you from reinstalling, and after you reinstall, you are not forced to copy your old configuration.nix to your new /etc/nixos/.
Re:Using the same Arch Linux installation for a decade
by kevincox on Tuesday August 16, 2022 @03:46PM
(#32487869)
In fact I think Nix is much better here. Instead of reinstalling you can just audit your configuration for anything that you don't want. You don't need to worry about stray packages, config files or services like on other distributions. And of course if you accidentally clean too much it is easy to revert via source control of your config file.