#!/usr/bin/env bash if [ "$1" = "mira" ]; then nixos-rebuild switch --use-remote-sudo --flake `pwd`#mira elif [ "$1" = "framework" ]; then NIX_SSHOPTS="-t" nixos-rebuild switch --target-host framework --use-remote-sudo --flake `pwd`#framework elif [ "$1" = "knazarovcom" ]; then nixos-rebuild switch --target-host knazarov.com --use-remote-sudo --flake `pwd`#knazarovcom elif [ "$1" = "videos" ]; then nixos-rebuild switch --target-host 107.189.7.30 --use-remote-sudo --flake `pwd`#videos fi