My flake-based NixOS config. The following is just some instructions for me to use when dealing with rebuilds and updates.
Before committing, run a dry build to make sure everything will work as expected.
nixos-rebuild dry-build
After committing, run a rebuild to put the config into effect.
nixos-rebuild switch
To update a particular input to its latest revision, run the following at the root of the repo.
nix flake update --update-input nixpkgs
To update all inputs to their latest revisions:
nix flake update