From 9ff57ba6f32e3206e71363549575bc673e3d5d82 Mon Sep 17 00:00:00 2001 From: Richie Cahill Date: Thu, 9 Jan 2025 21:07:15 -0500 Subject: [PATCH] setup auto decrypt --- systems/bob/hardware.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/systems/bob/hardware.nix b/systems/bob/hardware.nix index 6d2c50c..7ce1f73 100644 --- a/systems/bob/hardware.nix +++ b/systems/bob/hardware.nix @@ -26,6 +26,8 @@ device = "/dev/disk/by-id/nvme-Samsung_SSD_990_PRO_with_Heatsink_1TB_S73JNJ0X114418B-part2"; bypassWorkqueues = true; allowDiscards = true; + keyFileSize = 4096; + keyFile = "/dev/disk/by-id/usb-Samsung_Flash_Drive_FIT_0374620080067131-0:0"; }; }; kernelModules = [ "kvm-amd" ];