lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

nixos: condition sysctl.kptr_restrict on features.grsecurity

Conditioning `sysctl.kptr_restrict` on `features.grsecurity` supports
any grsecurity enabled kernel without having to enable the grsecurity
module.

+1 -1
+1 -1
nixos/modules/config/sysctl.nix
··· 64 64 # 65 65 # Removed under grsecurity. 66 66 boot.kernel.sysctl."kernel.kptr_restrict" = 67 - if config.security.grsecurity.enable then null else 1; 67 + if (config.boot.kernelPackages.kernel.features.grsecurity or false) then null else 1; 68 68 }; 69 69 }