Fix fallout from 4f27ad14

Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
Austin Seipp 2014-05-18 07:38:13 -05:00
parent bc792bda14
commit 67c309fe75

View file

@ -3,10 +3,11 @@
with lib;
let
cfg = config.security.grsecurity;
customGrsecPkg =
(import ../../../pkgs/build-support/grsecurity
{ grsecOptions = config.security.grsecurity;
};
{ grsecOptions = cfg; }
).grsecPackage;
in
{
@ -317,7 +318,7 @@ in
# Enable AppArmor, gradm udev rules, and utilities
security.apparmor.enable = true;
boot.kernelPackages = grsecPackage;
boot.kernelPackages = customGrsecPkg;
services.udev.packages = [ pkgs.gradm ];
environment.systemPackages = [ pkgs.gradm pkgs.paxctl pkgs.pax-utils ];
};