Nix is my way of setting up and managing my computers. It's an entirely declarative way of saying what you want. Some people also say it's a cult.
- ninezeroes — NixOS (x86_64-linux)
- trueswiftie — macOS (aarch64-darwin)
- The
hosts/directory contains the entrypoints to different architectures of machines. - The
configs/directory contains how individual software should be configured.
Apply a configuration:
# NixOS
sudo nixos-rebuild switch --flake .#ninezeroes
# macOS
sudo darwin-rebuild switch --flake .#trueswiftieSometimes you might have to ask Nix to skip cache, and the flag for that is --option eval-cache false.
My dotfiles setup has evolved over the years, starting from maybe ... Ansible? I used NixOS (the real thing) for about a year before moving on to application-level Nix on macOS. I think I value convenience over BTW-ism.
