mirror of
https://github.com/librephoenix/nixos-config
synced 2025-10-19 01:54:02 +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.sudo.enable = false;
|
||||
security.doas.extraRules = [
|
||||
{
|
||||
users = adminUsers;
|
||||
keepEnv = true;
|
||||
persist = true;
|
||||
}
|
||||
{
|
||||
users = adminUsers;
|
||||
cmd = "phoenix";
|
||||
noPass = true;
|
||||
keepEnv = true;
|
||||
}
|
||||
{
|
||||
users = adminUsers;
|
||||
cmd = "nix";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue