try to set SETENV for sudo users
This commit is contained in:
parent
e65d75d81a
commit
6855ec08b0
|
@ -109,6 +109,10 @@
|
|||
command = "/run/current-system/sw/bin/nixos-rebuild";
|
||||
options = [ "NOPASSWD" ];
|
||||
}
|
||||
{
|
||||
command = "ALL";
|
||||
options = [ "SETENV" ];
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue