feat: add digitalocean noisebell host
This commit is contained in:
parent
adb929227b
commit
b57927a395
16 changed files with 318 additions and 92 deletions
16
scripts/deploy-do
Executable file
16
scripts/deploy-do
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
target=${1:-jet@noisebell-do}
|
||||
if [ "$#" -gt 0 ]; then
|
||||
shift
|
||||
fi
|
||||
|
||||
SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)
|
||||
REPO_ROOT=$(cd -- "$SCRIPT_DIR/.." && pwd)
|
||||
|
||||
exec nixos-rebuild switch \
|
||||
--flake "$REPO_ROOT#noisebell-do" \
|
||||
--target-host "$target" \
|
||||
--sudo \
|
||||
"$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue