Limit password less sudo to nix-env
This commit is contained in:
parent
02e8449723
commit
146231ccec
|
@ -118,8 +118,8 @@
|
|||
options = [ "NOPASSWD" ];
|
||||
}
|
||||
{
|
||||
command = "ALL";
|
||||
options = [ "SETENV" ];
|
||||
command = "/run/current-system/sw/bin/nix-env";
|
||||
options = [ "NOPASSWD" ];
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue