mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
fix installer tests #13559
This commit is contained in:
parent
7133a3730c
commit
77ae55308c
@ -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.
|
||||
'';
|
||||
@ -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" ];
|
||||
|
Loading…
Reference in New Issue
Block a user