fix systemctl command
This commit is contained in:
parent
5fa321a5ee
commit
ada20437f4
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@
|
|||
|
||||
switch = lib.recurseIntoAttrs (lib.mapAttrs
|
||||
(hostname: machine: pkgs.writeShellScript "switch-${hostname}" ''
|
||||
${pkgs.systemd}/bin/systemctl --user restart-failed
|
||||
${pkgs.systemd}/bin/systemctl --user reset-failed
|
||||
${nixos-rebuild}/bin/nixos-rebuild switch --flake .#${hostname} $@
|
||||
'')
|
||||
localMachines);
|
||||
|
|
Loading…
Reference in a new issue