diff --git a/common/services/autoupgrade.nix b/common/services/autoupgrade.nix index e66922f..3cfd19e 100644 --- a/common/services/autoupgrade.nix +++ b/common/services/autoupgrade.nix @@ -11,6 +11,7 @@ systemd.services."nix-auto-upgrade" = { script = '' set -eu + alias git=${pkgs.git}/bin/git ${pkgs.git}/bin/git pull ${pkgs.nixos-rebuild}/bin/nixos-rebuild switch --flake .#$(cat /etc/hostname)