NixOS-Config/nixos/modules/security.nix

19 lines
329 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, allow persistant session
{
groups = ["wheel"];
keepEnv = true;
persist = true;
}
];
};
apparmor.enable = true;
};
}