git.iko.soy/typeable/nixpkgs
on master help sign in
fix installer tests #13559
commit77ae55308c0e4521fdf46391e71d5d16c5dee2bc authorDomen Kožar <domen@dev.si> dateFri 11 Mar 2016, 15:53 (11 years ago) parent7133a37
1 file changed+3−2
nixos/modules/security/grsecurity.nix+3−2
nixos/modules/security/grsecurity.nix+3−2
@@ -28,8 +28,7 @@ in
2828
2929 kernelPatch = mkOption {
3030 type = types.attrs;
31− default = pkgs.kernelPatches.grsecurity_latest;
32− example = pkgs.kernelPatches.grsecurity_4_1;
31+ example = lib.literalExample "pkgs.kernelPatches.grsecurity_4_1";
3332 description = ''
3433 Grsecurity patch to use.
3534 '';
@@ -231,6 +230,8 @@ in
231230 }
232231 ];
233232
233+ security.grsecurity.kernelPatch = lib.mkDefault pkgs.kernelPatches.grsecurity_latest;
234+
234235 systemd.services.grsec-lock = mkIf cfg.config.sysctl {
235236 description = "grsecurity sysctl-lock Service";
236237 requires = [ "systemd-sysctl.service" ];