NixOS-Config/nixos/modules/security.nix
2024-08-24 22:16:51 -04:00

19 lines
329 B
Nix

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