diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-06-06 22:11:20 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-06-06 22:11:20 +0200 |
commit | c7eedaeabe6f2eabd6521e41808fa25ffd6a7d9a (patch) | |
tree | c5ca6b2871f6446cb3bb3502ee5b2b91ae579cb7 | |
parent | c125483a5ff2f1c701f7bbf26c14dee6efff8cbb (diff) | |
download | nixos-c7eedaeabe6f2eabd6521e41808fa25ffd6a7d9a.tar nixos-c7eedaeabe6f2eabd6521e41808fa25ffd6a7d9a.tar.gz nixos-c7eedaeabe6f2eabd6521e41808fa25ffd6a7d9a.tar.bz2 nixos-c7eedaeabe6f2eabd6521e41808fa25ffd6a7d9a.tar.xz nixos-c7eedaeabe6f2eabd6521e41808fa25ffd6a7d9a.zip |
rebuild-machines: fix GIT_CONFIG_COUNT
-rw-r--r-- | system-profiles/rebuild-machines/rebuild-machine.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
6 | 6 | ||
7 | export NIX_SSHOPTS="-F @sshConfig@" | 7 | export NIX_SSHOPTS="-F @sshConfig@" |
8 | export GIT_SSH_COMMAND="@openssh@/bin/ssh -F @sshConfig@" | 8 | export GIT_SSH_COMMAND="@openssh@/bin/ssh -F @sshConfig@" |
9 | export GIT_CONFIG_COUNT=0 GIT_CONFIG_KEY_0="init.defaultBranch" GIT_CONFIG_VALUE_0=main | 9 | export GIT_CONFIG_COUNT=1 GIT_CONFIG_KEY_0="init.defaultBranch" GIT_CONFIG_VALUE_0=main |
10 | exec -- @nixosRebuild@/bin/nixos-rebuild --refresh --flake '@flake@' ${@:-switch} | 10 | exec -- @nixosRebuild@/bin/nixos-rebuild --refresh --flake '@flake@' ${@:-switch} |