I just switched one of my systems over to NixOS from Arch and so far it seems interesting. One question I had is regarding the nix-shell. So I get the basic concept of it and that it allows creating a shell that has packages installed with that shell making ideal for dev environments. I’ve even seen talks where the suggest nix-shells over docker/podman, my question is how is persistent data (like databases) handled?
Well, part of the point of NixOS is to eliminate that whole issue of forgotten tinkering – the whole system is defined right there in a few modules, or even one file, and there’s no way for un-tracked tinkering to exist outside those files.
But can I ask how you use your computer? What goes into these months of prep? I really can’t imagine it.
My old OS is kind of a blackbox, in the that I played with countless tools, and I’m not really sure what I will want to reference later. For instance
…and on. I played with a lot of things without regard for longevity or preservation. I didn’t even takes notes on what I did most of the time. So I got very worried about just switching OSs without a plan in place. Ultimately, I ended up doing the following to transition.
But of course…I’m on NixOS now! So much of these configurations and lists of software packages, will be documented forever.