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

17 lines
258 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-11-18 17:14:02 -05:00
groups = [ "wheel" ];
2024-08-24 22:16:51 -04:00
keepEnv = true;
persist = true;
}
];
};
};
}