From c231e1c60ceaf4ef542a681e99d85ca7f5efff77 Mon Sep 17 00:00:00 2001 From: m3tm3re Date: Fri, 1 May 2026 09:31:17 +0200 Subject: [PATCH] fix: repo reference for home-manager-update --- home/common/pi-base.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/home/common/pi-base.nix b/home/common/pi-base.nix index 69c655e..318abdf 100644 --- a/home/common/pi-base.nix +++ b/home/common/pi-base.nix @@ -347,7 +347,7 @@ # Der hostname wird zur Build-Zeit in das Script eingebettet systemd.user.services.home-manager-update = let flakeConfig = "${username}@${hostname}"; - repoUrl = "git+https://git.az-gruppe.com/AZ-Intec-GmbH/AZ-NIX.git"; + repoUrl = "git+https://git.az-gruppe.com/AZ-Intec-GmbH/AZ-PI.git"; in { Unit = { Description = "Update home-manager configuration for ${hostname}"; @@ -364,9 +364,9 @@ echo "[$(${pkgs.coreutils}/bin/date)] Starting home-manager update for ${flakeConfig}..." - if [ -d "/home/${config.home.username}/AZ-NIX" ]; then + if [ -d "/home/${config.home.username}/AZ-PI" ]; then echo "Using local repository..." - cd /home/${config.home.username}/AZ-NIX + cd /home/${config.home.username}/AZ-PI ${pkgs.git}/bin/git pull ${pkgs.nix}/bin/nix run home-manager/release-25.11 -- switch --flake .#${flakeConfig} else