NixOS-Config/system/modules/security.nix

18 lines
295 B
Nix

{
# Enable AppArmor
security = {
sudo.enable = false;
doas = {
enable = true;
extraRules = [
{ # Give wheel root access
groups = ["wheel"];
keepEnv = true;
persist = true;
}
];
};
apparmor.enable = true;
};
}