My NixOS configuration. Not meant for use by anyone else except as a learning resource.
This configuration was based on Wil T's excellent NixOS introduction series.
These mostly exist just so I don't forget the commands...
Update flake inputs:
./scripts/update.sh
Apply changes to system:
./scripts/apply.sh
The /boot partition on my desktop is woefully small and sometimes runs out of space when applying the configuration. I have found that this can be fixed by a combination of...
sudo rm -r /boot/kernels
sudo nix-env -p /nix/var/nix/profiles/system --delete-generations +2
Also of note: if something goes wrong, pass --install-bootloader
to nixos-rebuild
to reinstall the bootloader.