diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-06-06 21:31:23 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-06-06 21:31:23 +0200 |
commit | cba76d4b15d8d64114acf39c3360394fe349951b (patch) | |
tree | 438076029dee06e32feb1e902b04542fb398e33f /system-profiles/rebuild-machines | |
parent | bff6acc5b58eec5265182dce7b905d5a5b98976a (diff) | |
download | nixos-cba76d4b15d8d64114acf39c3360394fe349951b.tar nixos-cba76d4b15d8d64114acf39c3360394fe349951b.tar.gz nixos-cba76d4b15d8d64114acf39c3360394fe349951b.tar.bz2 nixos-cba76d4b15d8d64114acf39c3360394fe349951b.tar.xz nixos-cba76d4b15d8d64114acf39c3360394fe349951b.zip |
rebuild-machines: silence git warning
Diffstat (limited to 'system-profiles/rebuild-machines')
-rw-r--r-- | system-profiles/rebuild-machines/rebuild-machine.zsh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/system-profiles/rebuild-machines/rebuild-machine.zsh b/system-profiles/rebuild-machines/rebuild-machine.zsh index e9e1655f..6420a417 100644 --- a/system-profiles/rebuild-machines/rebuild-machine.zsh +++ b/system-profiles/rebuild-machines/rebuild-machine.zsh | |||
@@ -4,5 +4,7 @@ if [[ $(@coreutils@/bin/whoami) != "root" ]]; then | |||
4 | exec @wrapperDir@/sudo -H -- @out@/bin/@scriptName@ $@ | 4 | exec @wrapperDir@/sudo -H -- @out@/bin/@scriptName@ $@ |
5 | fi | 5 | fi |
6 | 6 | ||
7 | export NIX_SSHOPTS="-F @sshConfig@" GIT_SSH_COMMAND="@openssh@/bin/ssh -F @sshConfig@" | 7 | export NIX_SSHOPTS="-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 | ||
8 | exec -- @nixosRebuild@/bin/nixos-rebuild --refresh --flake '@flake@' ${@:-switch} | 10 | exec -- @nixosRebuild@/bin/nixos-rebuild --refresh --flake '@flake@' ${@:-switch} |