mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
Revert "apparmor: add apparmor_parser config file"
This reverts commit 2259fbdf4b
.
This commit is contained in:
parent
32a898bb15
commit
539ae5c932
@ -23,17 +23,11 @@ in
|
|||||||
default = [];
|
default = [];
|
||||||
description = "List of packages to be added to apparmor's include path";
|
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 {
|
config = mkIf cfg.enable {
|
||||||
environment.systemPackages = [ pkgs.apparmor-utils ];
|
environment.systemPackages = [ pkgs.apparmor-utils ];
|
||||||
environment.etc."apparmor/parser.conf".text = cfg.parserConfig;
|
|
||||||
|
|
||||||
boot.kernelParams = [ "apparmor=1" "security=apparmor" ];
|
boot.kernelParams = [ "apparmor=1" "security=apparmor" ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user