summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts/skadhi/default.nix3
-rw-r--r--system-profiles/initrd-all-crypto-modules.nix2
2 files changed, 2 insertions, 3 deletions
diff --git a/hosts/skadhi/default.nix b/hosts/skadhi/default.nix
index e0040db6..ff9013a1 100644
--- a/hosts/skadhi/default.nix
+++ b/hosts/skadhi/default.nix
@@ -2,7 +2,7 @@
2{ 2{
3 imports = with flake.nixosModules.systemProfiles; [ 3 imports = with flake.nixosModules.systemProfiles; [
4 ./hw.nix ./fs.nix 4 ./hw.nix ./fs.nix
5 tmpfs-root default-locale openssh niri-unstable networkmanager lanzaboote zswap 5 tmpfs-root default-locale openssh niri-unstable networkmanager lanzaboote zswap initrd-all-crypto-modules
6 flakeInputs.nixVirt.nixosModules.default 6 flakeInputs.nixVirt.nixosModules.default
7 ]; 7 ];
8 8
@@ -20,7 +20,6 @@
20 }; 20 };
21 21
22 kernelModules = [ "dm-integrity" ]; 22 kernelModules = [ "dm-integrity" ];
23 luks.cryptoModules = [ "aegis128" ];
24 }; 23 };
25 24
26 lanzaboote.configurationLimit = 15; 25 lanzaboote.configurationLimit = 15;
diff --git a/system-profiles/initrd-all-crypto-modules.nix b/system-profiles/initrd-all-crypto-modules.nix
index da6c781e..5d10a993 100644
--- a/system-profiles/initrd-all-crypto-modules.nix
+++ b/system-profiles/initrd-all-crypto-modules.nix
@@ -16,7 +16,7 @@ in {
16 ]; 16 ];
17 boot.kernelPatches = [ 17 boot.kernelPatches = [
18 { 18 {
19 name = "encrypted_key"; 19 name = "encrypted_keys";
20 patch = null; 20 patch = null;
21 structuredExtraConfig.ENCRYPTED_KEYS = lib.kernel.yes; 21 structuredExtraConfig.ENCRYPTED_KEYS = lib.kernel.yes;
22 } 22 }