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/alnus/config.nix | 1 - tv/1systems/mu/config.nix | 1 - tv/1systems/nomic/config.nix | 5 +---- tv/1systems/querel/config.nix | 9 +++------ tv/1systems/wu/config.nix | 5 +---- tv/1systems/xu/config.nix | 5 +---- tv/1systems/zu/config.nix | 5 +---- 7 files changed, 7 insertions(+), 24 deletions(-) (limited to 'tv') diff --git a/tv/1systems/alnus/config.nix b/tv/1systems/alnus/config.nix index ed5fb671..54f845ec 100644 --- a/tv/1systems/alnus/config.nix +++ b/tv/1systems/alnus/config.nix @@ -11,7 +11,6 @@ with import ; boot = { initrd = { availableKernelModules = [ "ahci" ]; - luks.cryptoModules = [ "aes" "sha512" "xts" ]; luks.devices.luksroot.device = "/dev/sda2"; }; }; diff --git a/tv/1systems/mu/config.nix b/tv/1systems/mu/config.nix index b6a25a2b..d5169281 100644 --- a/tv/1systems/mu/config.nix +++ b/tv/1systems/mu/config.nix @@ -15,7 +15,6 @@ with import ; tv.x0vncserver.enable = true; boot.initrd.luks.devices.muca.device = "/dev/sda2"; - boot.initrd.luks.cryptoModules = [ "aes" "sha512" "xts" ]; boot.initrd.availableKernelModules = [ "ahci" ]; boot.kernelModules = [ "fbcon" "kvm-intel" ]; boot.extraModulePackages = [ ]; diff --git a/tv/1systems/nomic/config.nix b/tv/1systems/nomic/config.nix index 38cc6236..4dc0b4e8 100644 --- a/tv/1systems/nomic/config.nix +++ b/tv/1systems/nomic/config.nix @@ -15,10 +15,7 @@ with import ; ]; - boot.initrd.luks = { - cryptoModules = [ "aes" "sha512" "xts" ]; - devices.luks1.device = "/dev/sda2"; - }; + boot.initrd.luks.devices.luks1.device = "/dev/sda2"; # Don't use UEFI because current disk was partitioned/formatted for AO753. # TODO remove following bool.loader section after repartitioning/reformatting 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 = { diff --git a/tv/1systems/wu/config.nix b/tv/1systems/wu/config.nix index d4114f00..f9c3860e 100644 --- a/tv/1systems/wu/config.nix +++ b/tv/1systems/wu/config.nix @@ -16,10 +16,7 @@ with import ; ]; - boot.initrd.luks = { - cryptoModules = [ "aes" "sha512" "xts" ]; - devices.wuca.device = "/dev/sda2"; - }; + boot.initrd.luks.devices.wuca.device = "/dev/sda2"; fileSystems = { "/" = { diff --git a/tv/1systems/xu/config.nix b/tv/1systems/xu/config.nix index 65b49ed9..86c2b13e 100644 --- a/tv/1systems/xu/config.nix +++ b/tv/1systems/xu/config.nix @@ -111,10 +111,7 @@ with import ; } ]; - boot.initrd.luks = { - cryptoModules = [ "aes" "sha512" "xts" ]; - devices.xuca.device = "/dev/sda2"; - }; + boot.initrd.luks.devices.xuca.device = "/dev/sda2"; fileSystems = { "/" = { diff --git a/tv/1systems/zu/config.nix b/tv/1systems/zu/config.nix index 5a69601e..8a3040a3 100644 --- a/tv/1systems/zu/config.nix +++ b/tv/1systems/zu/config.nix @@ -16,10 +16,7 @@ with import ; ]; - boot.initrd.luks = { - cryptoModules = [ "aes" "sha512" "xts" ]; - devices.zuca.device = "/dev/sda2"; - }; + boot.initrd.luks.devices.zuca.device = "/dev/sda2"; fileSystems = { "/" = { -- cgit v1.2.3