diff --git a/global/eraseyourdarlings.nix b/global/eraseyourdarlings.nix index 1169cfa..1c37167 100755 --- a/global/eraseyourdarlings.nix +++ b/global/eraseyourdarlings.nix @@ -45,6 +45,7 @@ ]; files = [ "/etc/machine-id" + "/etc/passwdfile" { file = "/var/keys/secret_file"; parentDirectory = { @@ -91,4 +92,5 @@ ]; }; }; + users.users.laythe.hashedPasswordFile="/persistent/etc/passwdfile"; } diff --git a/machines/workstation/hardware-configuration.nix b/machines/workstation/hardware-configuration.nix index 4639fa6..b6f2738 100755 --- a/machines/workstation/hardware-configuration.nix +++ b/machines/workstation/hardware-configuration.nix @@ -51,6 +51,7 @@ fileSystems."/persistent" = { device = "/dev/disk/by-label/BUTTER"; fsType = "btrfs"; + neededForBoot = true; options = [ "compress=zstd" "subvol=persist" ]; };