From beab49ec3dcdb639020997ee6140aad4d66212ee Mon Sep 17 00:00:00 2001 From: William Date: Fri, 10 Jan 2025 15:22:33 -0300 Subject: [PATCH] io now decrypts from keyfile --- hosts/desktops/io/hardware-configuration.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hosts/desktops/io/hardware-configuration.nix b/hosts/desktops/io/hardware-configuration.nix index 76c4b79..037a503 100644 --- a/hosts/desktops/io/hardware-configuration.nix +++ b/hosts/desktops/io/hardware-configuration.nix @@ -17,7 +17,10 @@ "sd_mod" "sdhci_pci" ]; - luks.devices."enc".device = "/dev/disk/by-uuid/8018720e-42dd-453c-b374-adaa02eb48c9"; + luks.devices."enc" = { + device = "/dev/disk/by-uuid/8018720e-42dd-453c-b374-adaa02eb48c9"; + keyFile = "/dev/disk/by-partuuid/cbc7e305-d32d-4250-b6ae-6a8264ea096e"; + }; }; kernelModules = [ "kvm-intel" ]; }; @@ -60,7 +63,7 @@ ]; }; "/boot/efi" = { - device = "/dev/disk/by-uuid/34AD-002A"; + device = "/dev/disk/by-uuid/31C9-08FF"; fsType = "vfat"; options = [ "noatime"