- Create partitions under the NixOS Installation section.
- Ensure
keys.txt
is located at/mnt/var/lib/sops-nix/
- Follow the installation guide and run
sudo nixos-install --no-root-passwd --flake .#hostname
in this directory, instead ofnixos-install
.
To rebuild the system after changes in hosts/
:
sudo nixos-rebuild switch --flake .#hostname
After making changes in home/
:
home-manager switch --flake .#sadbeast@hostname
This was intitially setup using https://github.com/Misterio77/nix-starter-configs