about summary refs log tree commit diff
path: root/nixos/modules/tasks
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2017-09-22 12:46:17 +0100
committerGitHub <noreply@github.com>2017-09-22 12:46:17 +0100
commit42be8dbe154a3cb44d67dd9c16bf1cdd56504871 (patch)
tree29722821f9fe895650f3598f878260af25d1c849 /nixos/modules/tasks
parente17e22d455dfeadac47b38f467ba9d8700a3fcfd (diff)
parent2000fba5619c105f7df24736789365cc271b6596 (diff)
downloadnixlib-42be8dbe154a3cb44d67dd9c16bf1cdd56504871.tar
nixlib-42be8dbe154a3cb44d67dd9c16bf1cdd56504871.tar.gz
nixlib-42be8dbe154a3cb44d67dd9c16bf1cdd56504871.tar.bz2
nixlib-42be8dbe154a3cb44d67dd9c16bf1cdd56504871.tar.lz
nixlib-42be8dbe154a3cb44d67dd9c16bf1cdd56504871.tar.xz
nixlib-42be8dbe154a3cb44d67dd9c16bf1cdd56504871.tar.zst
nixlib-42be8dbe154a3cb44d67dd9c16bf1cdd56504871.zip
Merge pull request #29344 from Moredread/fix/fileystem-encrypted-keyfile-missing-initrd-support
nixos/fileystems: Fix boot fails with encrypted fs 
Diffstat (limited to 'nixos/modules/tasks')
-rw-r--r--nixos/modules/tasks/encrypted-devices.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/tasks/encrypted-devices.nix b/nixos/modules/tasks/encrypted-devices.nix
index b1a7711ddcb4..b019ddc3a98c 100644
--- a/nixos/modules/tasks/encrypted-devices.nix
+++ b/nixos/modules/tasks/encrypted-devices.nix
@@ -61,6 +61,7 @@ in
         devices =
           map (dev: { name = dev.encrypted.label; device = dev.encrypted.blkDev; } ) keylessEncDevs;
         cryptoModules = [ "aes" "sha256" "sha1" "xts" ];
+        forceLuksSupportInInitrd = true;
       };
       postMountCommands =
         concatMapStrings (dev: "cryptsetup luksOpen --key-file ${dev.encrypted.keyFile} ${dev.encrypted.blkDev} ${dev.encrypted.label};\n") keyedEncDevs;