summaryrefslogtreecommitdiff
path: root/system-profiles/rebuild-machines
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-06-06 22:11:20 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2021-06-06 22:11:20 +0200
commitc7eedaeabe6f2eabd6521e41808fa25ffd6a7d9a (patch)
treec5ca6b2871f6446cb3bb3502ee5b2b91ae579cb7 /system-profiles/rebuild-machines
parentc125483a5ff2f1c701f7bbf26c14dee6efff8cbb (diff)
downloadnixos-c7eedaeabe6f2eabd6521e41808fa25ffd6a7d9a.tar
nixos-c7eedaeabe6f2eabd6521e41808fa25ffd6a7d9a.tar.gz
nixos-c7eedaeabe6f2eabd6521e41808fa25ffd6a7d9a.tar.bz2
nixos-c7eedaeabe6f2eabd6521e41808fa25ffd6a7d9a.tar.xz
nixos-c7eedaeabe6f2eabd6521e41808fa25ffd6a7d9a.zip
rebuild-machines: fix GIT_CONFIG_COUNT
Diffstat (limited to 'system-profiles/rebuild-machines')
-rw-r--r--system-profiles/rebuild-machines/rebuild-machine.zsh2
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
7export NIX_SSHOPTS="-F @sshConfig@" 7export NIX_SSHOPTS="-F @sshConfig@"
8export GIT_SSH_COMMAND="@openssh@/bin/ssh -F @sshConfig@" 8export GIT_SSH_COMMAND="@openssh@/bin/ssh -F @sshConfig@"
9export GIT_CONFIG_COUNT=0 GIT_CONFIG_KEY_0="init.defaultBranch" GIT_CONFIG_VALUE_0=main 9export GIT_CONFIG_COUNT=1 GIT_CONFIG_KEY_0="init.defaultBranch" GIT_CONFIG_VALUE_0=main
10exec -- @nixosRebuild@/bin/nixos-rebuild --refresh --flake '@flake@' ${@:-switch} 10exec -- @nixosRebuild@/bin/nixos-rebuild --refresh --flake '@flake@' ${@:-switch}