pull down to refresh

Can NixOS be described as Git for operating systems?
I really like this idea of reproducible builds and before I went to btc++ in Berlin (which served nix-pills), I actually pondered the idea of creating a personal base image of Arch Linux. So far, I just maintained some documentation in Notion of what things I usually configure on new installs (sshd, WireGuard, dotfiles etc.) so I don't have to figure out everything again when I setup a new machine.
But now I think what I actually want is NixOS?
(edit) bruh i was at btc++ berlin too! And yea you want nixOS in that respect. check out a great example of this in the wild with nix-bitcoin project.
interesting. In a sense, yea if you mean that your OS's config becomes a file you can read, modify, and evolve over time. You configure it once, and you can then take that NixOS config file anywhere to recreate your machine, kind of like checking out a Git commit.
But you can check that config file into Git! So you can actually "save" an operating system config as a Git repo... which is fairly difficult with other OS.
reply