7 lines
227 B
Bash
Executable file
7 lines
227 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
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 "$@" |