fix systemctl command

This commit is contained in:
Dmitriy Pleshevskiy 2022-12-13 15:51:25 +03:00
parent 5fa321a5ee
commit ada20437f4
Signed by: pleshevskiy
GPG Key ID: 1B59187B161C0215
1 changed files with 1 additions and 1 deletions

View File

@ -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);