From 984ec8fe43dd806833c7cbf75cfad0836ca4cc7b Mon Sep 17 00:00:00 2001 From: Jared Baur Date: Sun, 29 Mar 2026 14:10:33 -0700 Subject: [PATCH 1/2] nixos/stratisroot: remove aes_generic With kernel versions at 7.0 or greater, `aes_generic` no longer exists and is now just called `aes`. The `aes` module alias has existed since at least 5.10 (the oldest kernel currently in nixpkgs), so is sufficient to load `aes_generic` on older kernels. --- nixos/modules/system/boot/stratisroot.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/nixos/modules/system/boot/stratisroot.nix b/nixos/modules/system/boot/stratisroot.nix index 1f91192c93c1..349133ab540c 100644 --- a/nixos/modules/system/boot/stratisroot.nix +++ b/nixos/modules/system/boot/stratisroot.nix @@ -76,7 +76,6 @@ in ] ++ [ "aes" - "aes_generic" "blowfish" "twofish" "serpent" From ae8b3f7d554dba6ea1dabb93f1531159f2cfb174 Mon Sep 17 00:00:00 2001 From: Jared Baur Date: Sun, 29 Mar 2026 14:12:27 -0700 Subject: [PATCH 2/2] nixos/luksroot: remove aes_generic With kernel versions at 7.0 or greater, `aes_generic` no longer exists and is now just called `aes`. The `aes` module alias has existed since at least 5.10 (the oldest kernel currently in nixpkgs), so is sufficient to load `aes_generic` on older kernels. --- nixos/modules/system/boot/luksroot.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/nixos/modules/system/boot/luksroot.nix b/nixos/modules/system/boot/luksroot.nix index e925a1e7d2d0..3f5bd56539a0 100644 --- a/nixos/modules/system/boot/luksroot.nix +++ b/nixos/modules/system/boot/luksroot.nix @@ -635,7 +635,6 @@ in type = types.listOf types.str; default = [ "aes" - "aes_generic" "blowfish" "twofish" "serpent"