forked from mirrors/nixpkgs
Fix fallout from 4f27ad14
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
bc792bda14
commit
67c309fe75
|
@ -3,10 +3,11 @@
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
|
cfg = config.security.grsecurity;
|
||||||
|
|
||||||
customGrsecPkg =
|
customGrsecPkg =
|
||||||
(import ../../../pkgs/build-support/grsecurity
|
(import ../../../pkgs/build-support/grsecurity
|
||||||
{ grsecOptions = config.security.grsecurity;
|
{ grsecOptions = cfg; }
|
||||||
};
|
|
||||||
).grsecPackage;
|
).grsecPackage;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
@ -317,7 +318,7 @@ in
|
||||||
|
|
||||||
# Enable AppArmor, gradm udev rules, and utilities
|
# Enable AppArmor, gradm udev rules, and utilities
|
||||||
security.apparmor.enable = true;
|
security.apparmor.enable = true;
|
||||||
boot.kernelPackages = grsecPackage;
|
boot.kernelPackages = customGrsecPkg;
|
||||||
services.udev.packages = [ pkgs.gradm ];
|
services.udev.packages = [ pkgs.gradm ];
|
||||||
environment.systemPackages = [ pkgs.gradm pkgs.paxctl pkgs.pax-utils ];
|
environment.systemPackages = [ pkgs.gradm pkgs.paxctl pkgs.pax-utils ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue