mirror of
https://github.com/caperren/nixos-configs.git
synced 2025-12-30 19:14:19 +00:00
Allow git-auto-rebuild without password for admins
This commit is contained in:
@@ -14,6 +14,13 @@
|
||||
command = "${pkgs.systemd}/bin/poweroff";
|
||||
options = [ "NOPASSWD" ];
|
||||
}
|
||||
{
|
||||
commands = [
|
||||
"${pkgs.systemd}/bin/systemctl start git-auto-rebuild"
|
||||
"${pkgs.systemd}/bin/systemctl stop git-auto-rebuild"
|
||||
];
|
||||
options = [ "NOPASSWD" ];
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user