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