pull down to refresh
What did you move to NixOS from?
The way you describe it makes it feel like Linux squared: everything is a file config line
reply
It also facilitates (arguably) good discipline like erase your darlings.
reply
I was distro hopping so hard I even ended up using FreeBSD for a while, but if I had to guess I would say Ubuntu accounts for most of my previous Linux usage.
It might be worth noting that I am/used to be a macfag at heart, ever since I started hackintoshing back in the glorious days of Snow Leopard. And even though the latest macOS releases have been really testing me, Apple still has me by the balls when it comes to the work machine.
Still, everything else, from the gaming desktop to servers has been converted to NixOS.
reply
NixOS gang here, it brought back the joy of computing for me.
This has all the upsides of an image based distro like Fedora Silverblue but without trapping you in a cage, like if Arch wasn’t a brittle stateful mess.
While in Ubuntu world the package manager (apt) shits the bed when you sneeze too hard, I have actually continued installs from where it left off after it got interrupted by a power outage.
You describe the system configuration in a text file and run a command (nixos-rebuild) to apply said changes atomically, which means it either goes all the way or not at all. Like really, you can just yank the power cord in the middle of a system upgrade and nothing bad happens.
It also has some preflight sanity checks before applying new configurations, but in the rare case you manage to apply an unbootable configuration you can just pick one of the last n configurations right from the bootloader.
Using more “exotic” things like ZFS or an Nvidia GPU is a single line of config each, and speaking of ZFS, the mounter script from nixOS is more robust than the one in so called zfs native distros like proxmox and ubuntu.
And if you happen to have a mac you can use nix-darwin there to manage it like a nixOS system, you can also share configuration snippets between your machines so that your terminal, neovim, tmux etc. stays consistent across hosts.
And it’s totally rice friendly, while some distros make a whole ordeal from changing the DE/VM, in nixOS you can once again just change two lines of configuration with the system running and you don’t even need to reboot to switch let’s say from gnome to kde.