From c7eedaeabe6f2eabd6521e41808fa25ffd6a7d9a Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 6 Jun 2021 22:11:20 +0200 Subject: rebuild-machines: fix GIT_CONFIG_COUNT --- system-profiles/rebuild-machines/rebuild-machine.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system-profiles') diff --git a/system-profiles/rebuild-machines/rebuild-machine.zsh b/system-profiles/rebuild-machines/rebuild-machine.zsh index 6420a417..c06ef0e4 100644 --- a/system-profiles/rebuild-machines/rebuild-machine.zsh +++ b/system-profiles/rebuild-machines/rebuild-machine.zsh @@ -6,5 +6,5 @@ fi export NIX_SSHOPTS="-F @sshConfig@" export GIT_SSH_COMMAND="@openssh@/bin/ssh -F @sshConfig@" -export GIT_CONFIG_COUNT=0 GIT_CONFIG_KEY_0="init.defaultBranch" GIT_CONFIG_VALUE_0=main +export GIT_CONFIG_COUNT=1 GIT_CONFIG_KEY_0="init.defaultBranch" GIT_CONFIG_VALUE_0=main exec -- @nixosRebuild@/bin/nixos-rebuild --refresh --flake '@flake@' ${@:-switch} -- cgit v1.2.3