feat(systemd): add git to nixos-upgrade service path
Include git in the `PATH` for the `nixos-upgrade` systemd service. This change ensures that the service can execute git commands during its operations. The path addition resolves issues related to unavailable git commands.
This commit is contained in:
parent
cd99b128d4
commit
1e5ceb6c73
|
@ -42,6 +42,7 @@
|
|||
};
|
||||
|
||||
systemd.services.nixos-upgrade = {
|
||||
path = [ pkgs.git ];
|
||||
preStart = ''
|
||||
cd /root
|
||||
git fetch origin
|
||||
|
|
Loading…
Reference in a new issue