fix: static username in home-manager-update script

This commit is contained in:
2026-02-11 09:26:14 +01:00
parent 2db328630a
commit 388860c153
3 changed files with 24 additions and 16 deletions

View File

@@ -6,6 +6,7 @@
lib,
pkgs,
hostname ? "AZPILOGISTIK01",
username ? "logistik"
...
}: {
# Home Manager needs a bit of information about you and the paths it should
@@ -345,7 +346,7 @@
# Systemd Timer für nächtliches home-manager update
# Der hostname wird zur Build-Zeit in das Script eingebettet
systemd.user.services.home-manager-update = let
flakeConfig = "logistik@${hostname}";
flakeConfig = "${username}@${hostname}";
repoUrl = "git+https://git.az-gruppe.com/AZ-Intec-GmbH/AZ-NIX.git";
in {
Unit = {