#!@zsh@/bin/zsh -e if [[ $(@coreutils@/bin/whoami) != "root" ]]; then exec @wrapperDir@/sudo -H -- @out@/bin/@scriptName@ $@ 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 exec -- @nixosRebuild@/bin/nixos-rebuild --refresh --flake '@flake@' ${@:-switch}