try to set SETENV for sudo users

This commit is contained in:
Andreas Zweili 2022-03-04 18:28:49 +01:00
parent e65d75d81a
commit 6855ec08b0
1 changed files with 4 additions and 0 deletions

View File

@ -109,6 +109,10 @@
command = "/run/current-system/sw/bin/nixos-rebuild";
options = [ "NOPASSWD" ];
}
{
command = "ALL";
options = [ "SETENV" ];
}
];
}
];