From 20d546e8b6755577f79e2df71281ca2b93ef405c 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 e58a9b21..96d8d2b6 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