From 6d0489943699f4546334d6850672a69475a463a3 Mon Sep 17 00:00:00 2001 From: TheCrazyInsanity Date: Thu, 8 Jan 2026 14:18:15 +0000 Subject: [PATCH] kirked myself in the foot --- global/eraseyourdarlings.nix | 2 ++ machines/workstation/hardware-configuration.nix | 1 + 2 files changed, 3 insertions(+) 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" ]; };