#!@zsh@/bin/zsh -e if [[ $(@coreutils@/bin/whoami) != "root" ]]; then exec @wrapperDir@/sudo -H -- @out@/bin/@scriptName@ $@ fi export NIX_SSHOPTS="-F @sshConfig@" GIT_SSH_COMMAND="@openssh@/bin/ssh -F @sshConfig@" exec -- @nixosRebuild@/bin/nixos-rebuild --refresh --flake '@flake@' ${@:-switch}