summaryrefslogtreecommitdiff
path: root/modules/nixos/personal/hardware.nix
diff options
context:
space:
mode:
authoraristote <quentin.aristote@irif.fr>2025-02-28 13:00:50 +0100
committeraristote <quentin.aristote@irif.fr>2025-02-28 13:00:50 +0100
commit2f864beb9c0910d36c386571a89fff227d43cd34 (patch)
treeaf31dcff8884b287917489e8366d58683a3dc0a9 /modules/nixos/personal/hardware.nix
parent41c057f87e8f27dbd53afe212b0c1c3323437f8c (diff)
nixos: luks: disable tmp keyfile (broken)
Diffstat (limited to 'modules/nixos/personal/hardware.nix')
-rw-r--r--modules/nixos/personal/hardware.nix9
1 files changed, 5 insertions, 4 deletions
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