diff --git a/modules/nixos/services/base/default.nix b/modules/nixos/services/base/default.nix index e817afc..eba1984 100644 --- a/modules/nixos/services/base/default.nix +++ b/modules/nixos/services/base/default.nix @@ -159,8 +159,12 @@ in ]; flake = lib.mkDefault "git+https://git.hoyer.xyz/harald/nixcfg"; }; + systemd.services.nixos-upgrade = { path = [ pkgs.metacfg.rot8000 ]; + environment.GIT_CONFIG_GLOBAL = "${config.environment.etc.gitconfig.source}"; + environment.GIT_CONFIG_SYSTEM = "${config.environment.etc.gitconfig.source}"; + environment.GIT_CONFIG = "${config.environment.etc.gitconfig.source}"; }; programs.git.enable = true;