NixOS-Config/modules/system/programs/security/doas/default.nix

17 lines
256 B
Nix
Raw Normal View History

2024-10-09 03:36:08 -04:00
{ ... }:
{
2024-08-24 22:16:51 -04:00
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;
}
];
};
};
}