Revert "apparmor: add apparmor_parser config file"

This reverts commit 2259fbdf4b.
This commit is contained in:
Julien Moutinho 2020-09-05 01:46:12 +02:00
parent 32a898bb15
commit 539ae5c932

View File

@ -23,17 +23,11 @@ in
default = [];
description = "List of packages to be added to apparmor's include path";
};
parserConfig = mkOption {
type = types.str;
default = "";
description = "AppArmor parser configuration file content";
};
};
};
config = mkIf cfg.enable {
environment.systemPackages = [ pkgs.apparmor-utils ];
environment.etc."apparmor/parser.conf".text = cfg.parserConfig;
boot.kernelParams = [ "apparmor=1" "security=apparmor" ];