9 lines
387 B
Bash
Executable file
9 lines
387 B
Bash
Executable file
#!/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
|
|
fi
|