Before you install: The installation has to have both swap and root partition encrypted Copy the boot.initrd line from the original configuration.nix and put it in system/boot.nix Generate system/hardware-configuration.nix Edit personal.nix