nixos/profiles/hardened: remove hardened kernel

We'll place it at the host-level instead.
This commit is contained in:
Gabriel Arazas 2024-12-28 14:52:52 +08:00
parent 6d8060f768
commit 84e4c6a9a5
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360

View File

@ -10,10 +10,6 @@
# Don't replace it mid-way! DON'T TURN LEFT!!!! # Don't replace it mid-way! DON'T TURN LEFT!!!!
security.protectKernelImage = true; security.protectKernelImage = true;
# Hardened config equals hardened kernel equals hardened co--approval from the
# security-minded people.
boot.kernelPackages = lib.mkOverride 500 pkgs.linuxKernel.packages.linux_6_6_hardened;
# Disable system console entirely. We don't need it so get rid of it. # Disable system console entirely. We don't need it so get rid of it.
boot.kernel.sysctl."kernel.sysrq" = 0; boot.kernel.sysctl."kernel.sysrq" = 0;
} }