summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--machines/firelink.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/machines/firelink.nix b/machines/firelink.nix
index 4f23835..7673c21 100644
--- a/machines/firelink.nix
+++ b/machines/firelink.nix
@@ -133,7 +133,7 @@ in {
console.earlySetup = true;
boot.loader.grub.enable = true;
- boot.loader.grub.devices = ["nodev"];
+ boot.loader.grub.devices = [ "nodev" ];
boot.loader.grub.efiSupport = true;
boot.loader.efi.canTouchEfiVariables = true;
# boot.loader.grub.efiInstallAsRemovable = true;
@@ -210,9 +210,13 @@ in {
options = [ "noatime" "discard" ];
};
- boot.initrd.luks.devices."cryptsystem".device =
- "/dev/disk/by-uuid/8acc11c2-e540-4561-8c88-34176fca1a72";
- boot.initrd.luks.devices."cryptsystem".allowDiscards = true;
+ boot.initrd.luks.devices."cryptsystem" = {
+ device = "/dev/disk/by-uuid/8acc11c2-e540-4561-8c88-34176fca1a72";
+ allowDiscards = true;
+ keyFile = "/dev/zero";
+ keyFileSize = 32;
+ fallbackToPassword = true;
+ };
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/C636-D264";