From 2f864beb9c0910d36c386571a89fff227d43cd34 Mon Sep 17 00:00:00 2001 From: aristote Date: Fri, 28 Feb 2025 13:00:50 +0100 Subject: nixos: luks: disable tmp keyfile (broken) --- modules/nixos/personal/hardware.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'modules/nixos/personal/hardware.nix') diff --git a/modules/nixos/personal/hardware.nix b/modules/nixos/personal/hardware.nix index 0c7a068..d01639e 100644 --- a/modules/nixos/personal/hardware.nix +++ b/modules/nixos/personal/hardware.nix @@ -55,11 +55,12 @@ in { cfg.disks.crypted; preLVM = true; fallbackToPassword = true; - # only supported with systemd-initrd + # broken + ## only supported with systemd-initrd # keyFileTimeout = 1; - keyFile = - config.fileSystems."/boot".device - + ":/keyfile"; + # keyFile = + # config.fileSystems."/boot".device + # + ":/keyfile"; postOpenCommands = '' if [[ -f /boot/keyfile ]] then -- cgit v1.2.3