diff options
| author | aristote <quentin.aristote@irif.fr> | 2025-02-28 12:59:58 +0100 |
|---|---|---|
| committer | aristote <quentin.aristote@irif.fr> | 2025-02-28 12:59:58 +0100 |
| commit | 41c057f87e8f27dbd53afe212b0c1c3323437f8c (patch) | |
| tree | 7c2c795b43241f4ed096652226c239e58efa7b06 /modules | |
| parent | 734099e0999b8f31774100fb356ebbcf0d1e61d3 (diff) | |
nixos: autoUpgrade: allowReboot: fix keyfile generation
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/nixos/personal/nix.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/nixos/personal/nix.nix b/modules/nixos/personal/nix.nix index 77b4807..a66ba07 100644 --- a/modules/nixos/personal/nix.nix +++ b/modules/nixos/personal/nix.nix @@ -145,7 +145,7 @@ in { then dd if=/dev/urandom of=/boot/keyfile bs=1024 count=4 chmod 400 /boot/keyfile - cryptsetup --verbose --key-file /etc/luks/keyfile ${cryptCfg.device} /boot/keyfile + cryptsetup --verbose luksAddKey --key-file /etc/luks/keyfile ${cryptCfg.device} /boot/keyfile fi ''; postStop = '' |
