9 lines
233 B
Bash
9 lines
233 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||
|
cd $SCRIPT_DIR
|
||
|
cd $(git rev-parse --show-toplevel)
|
||
|
|
||
|
nixos-rebuild switch --flake .#hetzner-vm --target-host hetzner-vm -s $@
|