zaneyos/modules/core/doas.nix
Don Williams 5aa193646b Doas.nix set to no password for wheel by default
On branch main
 Your branch is up to date with 'origin/main'.

 Changes to be committed:
	modified:   modules/core/doas.nix
2025-06-22 23:57:38 -05:00

15 lines
347 B
Nix

{
security.doas.enable = true;
security.doas.extraRules = [
{
users = ["adminUser"]; # Replace with your username
keepEnv = true; # Retains environment variables
noPass = false;
}
{
groups = ["wheel"]; # Allows all users in 'wheel' group
noPass = false; # Enables passwordless execution
}
];
}