summaryrefslogtreecommitdiff
path: root/modules/nixos/personal/hardware.nix
diff options
context:
space:
mode:
authorquentin@aristote.fr <quentin@aristote.fr>2025-02-26 10:58:50 +0100
committerquentin@aristote.fr <quentin@aristote.fr>2025-02-26 23:50:57 +0100
commit7d0fe49b517ed374b069a5fc906db4b170b878b8 (patch)
tree0d72b78e8188880eabae67e9ec06c6b781e89995 /modules/nixos/personal/hardware.nix
parent58e0dd8b10c78cb3f7a36c6bcb169caa9087497d (diff)
nixos: autoUpgrade: when allowReboot, add tmp keyfile on boot
Diffstat (limited to 'modules/nixos/personal/hardware.nix')
-rw-r--r--modules/nixos/personal/hardware.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/nixos/personal/hardware.nix b/modules/nixos/personal/hardware.nix
index f81c859..3604852 100644
--- a/modules/nixos/personal/hardware.nix
+++ b/modules/nixos/personal/hardware.nix
@@ -56,7 +56,7 @@ in {
preLVM = true;
fallbackToPassword = true;
keyFileTimeout = 1;
- keyfile =
+ keyFile =
config.fileSystems."/boot".device
+ ":/keyfile";
postOpenCommands = ''