- https://mudrii.medium.com/nixos-native-flake-deployment-with-luks-drive-encryption-and-lvm-b7f3738b71ca
- https://github.com/ryan4yin/nix-config
- https://nixos-and-flakes.thiscute.world/
For your first install / inital setup, please refer to README-first-time-install.md for instructions.
Information regarding secrets
e.g. root password and so on, can be found here: README-secrets.md.
Sometimes you need to update the flake.lock
file to get new versions of programs. The command to update your pkgs versions is nix flake update
, but the Makefile provided with this repository allows you to also use make update
To then install the new pkgs that have been configured in the flake.lock
file you need to use nixos-rebuild switch --flake . --use-remote-sudo
. The Makefile also provides a simpler command make deploy
and a debug version of that named make debug
.
flake.nix
- your-computer-hostname in
flake.nix
will import your computer setup.
- your-computer-hostname in
hosts/your-computer-hostname
folder will containdefault.nix
- Will import specific things for your setup.
hardware-configuration.nix
- Hardware configuration for your specific setup.