mirror of
https://github.com/caperren/nixos-configs.git
synced 2025-12-30 11:04:19 +00:00
Revert to using system config path
This commit is contained in:
@@ -7,11 +7,11 @@
|
||||
groups = [ "wheel" ];
|
||||
commands = [
|
||||
{
|
||||
command = "/run/current-system/sw/bin/reboot";
|
||||
command = "${config.system.path}/bin/reboot";
|
||||
options = [ "NOPASSWD" ];
|
||||
}
|
||||
{
|
||||
command = "/run/current-system/sw/bin/poweroff";
|
||||
command = "${config.system.path}/bin/poweroff";
|
||||
options = [ "NOPASSWD" ];
|
||||
}
|
||||
];
|
||||
@@ -20,11 +20,11 @@
|
||||
users = [ "cluster-admin" ];
|
||||
commands = [
|
||||
{
|
||||
command = "/run/current-system/sw/bin/systemctl start git-auto-rebuild.service";
|
||||
command = "${config.system.path}/bin/systemctl start git-auto-rebuild.service";
|
||||
options = [ "NOPASSWD" ];
|
||||
}
|
||||
{
|
||||
command = "/run/current-system/sw/bin/systemctl stop git-auto-rebuild.service";
|
||||
command = "${config.system.path}/bin/systemctl stop git-auto-rebuild.service";
|
||||
options = [ "NOPASSWD" ];
|
||||
}
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
users = [ "caperren" ];
|
||||
commands = [
|
||||
{
|
||||
command = "/run/current-system/sw/bin/nvtop";
|
||||
command = "${config.system.path}/bin/nvtop";
|
||||
options = [
|
||||
"NOPASSWD"
|
||||
"SETENV"
|
||||
|
||||
Reference in New Issue
Block a user