security/module.nix: add polkit ad apparmor
This commit is contained in:
parent
83335cf7a2
commit
7e39e12b64
1 changed files with 14 additions and 1 deletions
|
@ -1,5 +1,18 @@
|
||||||
_: {
|
{pkgs, ...}: {
|
||||||
imports = [
|
imports = [
|
||||||
./sudo.nix
|
./sudo.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
security = {
|
||||||
|
polkit = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.polkit;
|
||||||
|
};
|
||||||
|
|
||||||
|
apparmor = {
|
||||||
|
enable = true;
|
||||||
|
killUnconfinedConfinables = true;
|
||||||
|
packages = [pkgs.apparmor-profiles];
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue