fix installer tests #13559

This commit is contained in:
Domen Kožar 2016-03-11 15:53:35 +00:00
parent 7133a3730c
commit 77ae55308c

View file

@ -28,8 +28,7 @@ in
kernelPatch = mkOption { kernelPatch = mkOption {
type = types.attrs; type = types.attrs;
default = pkgs.kernelPatches.grsecurity_latest; example = lib.literalExample "pkgs.kernelPatches.grsecurity_4_1";
example = pkgs.kernelPatches.grsecurity_4_1;
description = '' description = ''
Grsecurity patch to use. Grsecurity patch to use.
''; '';
@ -231,6 +230,8 @@ in
} }
]; ];
security.grsecurity.kernelPatch = lib.mkDefault pkgs.kernelPatches.grsecurity_latest;
systemd.services.grsec-lock = mkIf cfg.config.sysctl { systemd.services.grsec-lock = mkIf cfg.config.sysctl {
description = "grsecurity sysctl-lock Service"; description = "grsecurity sysctl-lock Service";
requires = [ "systemd-sysctl.service" ]; requires = [ "systemd-sysctl.service" ];