mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
nixos/profiles/hardened: remove hardened kernel
We'll place it at the host-level instead.
This commit is contained in:
parent
6d8060f768
commit
84e4c6a9a5
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user