mirror of
https://github.com/librephoenix/nixos-config
synced 2025-10-18 17:44:06 +05:30
doas fixes
This commit is contained in:
parent
f708c24dc5
commit
c8666c3638
1 changed files with 11 additions and 0 deletions
|
@ -15,6 +15,17 @@ in {
|
||||||
security.doas.enable = true;
|
security.doas.enable = true;
|
||||||
security.sudo.enable = false;
|
security.sudo.enable = false;
|
||||||
security.doas.extraRules = [
|
security.doas.extraRules = [
|
||||||
|
{
|
||||||
|
users = adminUsers;
|
||||||
|
keepEnv = true;
|
||||||
|
persist = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
users = adminUsers;
|
||||||
|
cmd = "phoenix";
|
||||||
|
noPass = true;
|
||||||
|
keepEnv = true;
|
||||||
|
}
|
||||||
{
|
{
|
||||||
users = adminUsers;
|
users = adminUsers;
|
||||||
cmd = "nix";
|
cmd = "nix";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue