if [[ -z "$1" ]]; then echo "You must specify a nixosConfigurations target!" exit fi nixos-rebuild build-image --image-variant iso --flake ".#$1"