fix installer tests #13559
This commit is contained in:
parent
7133a3730c
commit
77ae55308c
@ -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" ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user