From bef199ff604910d1342ca92fedf430648e3e9afe Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 9 Dec 2020 16:02:16 +0100 Subject: tv: drop custom boot.initrd.luks.cryptoModules --- tv/1systems/querel/config.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'tv/1systems/querel/config.nix') diff --git a/tv/1systems/querel/config.nix b/tv/1systems/querel/config.nix index e58a9b2..96d8d2b 100644 --- a/tv/1systems/querel/config.nix +++ b/tv/1systems/querel/config.nix @@ -11,12 +11,9 @@ with import ; krebs.build.user = mkForce config.krebs.users.itak; boot.initrd.availableKernelModules = [ "ahci" ]; - boot.initrd.luks = { - cryptoModules = [ "aes" "sha512" "xts" ]; - devices.querel-luks1 = { - allowDiscards = true; - device = "/dev/sda2"; - }; + boot.initrd.luks.devices.querel-luks1 = { + allowDiscards = true; + device = "/dev/sda2"; }; boot.kernelModules = [ "kvm-intel" ]; boot.loader = { -- cgit v1.2.3