On branch main Your branch is up to date with 'origin/main'. Changes to be committed: modified: modules/core/doas.nix
15 lines
347 B
Nix
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
|
|
}
|
|
];
|
|
}
|