module: fix sp-nixos-rebuild systemd script

This commit is contained in:
Alexander Tomokhov 2023-11-23 21:31:50 +04:00
parent 8791462f87
commit 75f4e8d40e

View file

@ -115,7 +115,7 @@ in
SendSIGKILL = "no";
};
script = ''
${config.nix.package}/bin/nix flake lock --update-input sp-modules"
${config.nix.package}/bin/nix flake lock --update-input sp-modules
${pkgs.nixos-rebuild}/bin/nixos-rebuild switch --flake /etc/nixos#sp-nixos
'';
};