feat(base): blacklist unused network kernel modules

Disable rxrpc, kafs, af_key, esp4, esp6 across all systems that enable
metacfg.base. None of them are used on these hosts, and they have a
history of CVEs — blacklisting reduces kernel attack surface.
This commit is contained in:
Harald Hoyer 2026-05-13 09:16:21 +02:00
parent 67b7c3a9fd
commit b9cfdc99a7

View file

@ -166,6 +166,13 @@ in
timeout = 2; timeout = 2;
}; };
initrd.systemd.enable = true; initrd.systemd.enable = true;
blacklistedKernelModules = [
"rxrpc"
"kafs"
"af_key"
"esp4"
"esp6"
];
}; };
system.autoUpgrade = { system.autoUpgrade = {