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

16 lines
256 B
Nix
Raw Normal View History

{ ... }: {
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;
}
];
};
};
}