Merge pull request #30477 from Lassulus/encrypted-devices

Encrypted devices: don't override crytpoModules, fix example
This commit is contained in:
Jörg Thalheim 2017-10-16 19:00:41 +01:00 committed by GitHub
commit 6838762997

View File

@ -36,7 +36,7 @@ let
keyFile = mkOption {
default = null;
example = "/root/.swapkey";
example = "/mnt-root/root/.swapkey";
type = types.nullOr types.str;
description = "File system location of keyfile. This unlocks the drive after the root has been mounted to <literal>/mnt-root</literal>.";
};
@ -67,7 +67,6 @@ in
luks = {
devices =
map (dev: { name = dev.encrypted.label; device = dev.encrypted.blkDev; } ) keylessEncDevs;
cryptoModules = [ "aes" "sha256" "sha1" "xts" ];
forceLuksSupportInInitrd = true;
};
postMountCommands =