#!@zsh@/bin/zsh set -o errexit if [[ $(whoami) != "root" ]]; then exec sudo -- $0 $@ fi configPath=$(nix-instantiate --eval --expr '') @git@/bin/git -C ${configPath:h} pull --recurse-submodules nixos-rebuild $@