From ab623d8467c9f82666e8a6f7ee48eae9199acb5e Mon Sep 17 00:00:00 2001 From: Evgeny Egorochkin Date: Fri, 22 Dec 2017 07:44:30 +0200 Subject: luksRoot: add the missing ECB dependency to fix XTS support, resolves #30940 --- nixos/modules/system/boot/luksroot.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nixos/modules/system/boot/luksroot.nix') diff --git a/nixos/modules/system/boot/luksroot.nix b/nixos/modules/system/boot/luksroot.nix index 1db5f75361c..eefee5a479e 100644 --- a/nixos/modules/system/boot/luksroot.nix +++ b/nixos/modules/system/boot/luksroot.nix @@ -227,6 +227,11 @@ in default = [ "aes" "aes_generic" "blowfish" "twofish" "serpent" "cbc" "xts" "lrw" "sha1" "sha256" "sha512" + + # workaround until https://marc.info/?l=linux-crypto-vger&m=148783562211457&w=4 is merged + # remove once 'modprobe --show-depends xts' shows ecb as a dependency + "ecb" + (if pkgs.stdenv.system == "x86_64-linux" then "aes_x86_64" else "aes_i586") ]; description = '' -- cgit 1.4.1