Skip to content

Commit

Permalink
fix installer tests NixOS#13559
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Mar 11, 2016
1 parent 329addf commit acfaaf2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nixos/modules/security/grsecurity.nix
Expand Up @@ -28,8 +28,7 @@ in

kernelPatch = mkOption {
type = types.attrs;
default = pkgs.kernelPatches.grsecurity_latest;
example = pkgs.kernelPatches.grsecurity_4_1;
example = lib.literalExample "pkgs.kernelPatches.grsecurity_4_1";
description = ''
Grsecurity patch to use.
'';
Expand Down Expand Up @@ -231,6 +230,8 @@ in
}
];

security.grsecurity.kernelPatch = lib.mkDefault pkgs.kernelPatches.grsecurity_latest;

systemd.services.grsec-lock = mkIf cfg.config.sysctl {
description = "grsecurity sysctl-lock Service";
requires = [ "systemd-sysctl.service" ];
Expand Down

0 comments on commit acfaaf2

Please sign in to comment.