NixOS-Config/system/modules/security.nix

18 lines
295 B
Nix
Raw Normal View History

2024-08-24 22:16:51 -04:00
{
# Enable AppArmor
security = {
sudo.enable = false;
doas = {
enable = true;
extraRules = [
{ # Give wheel root access
2024-08-24 22:16:51 -04:00
groups = ["wheel"];
keepEnv = true;
persist = true;
}
];
};
apparmor.enable = true;
};
}