feat: add digitalocean noisebell host

This commit is contained in:
Jet 2026-05-21 12:06:10 -07:00
parent adb929227b
commit b57927a395
No known key found for this signature in database
16 changed files with 318 additions and 92 deletions

16
scripts/deploy-do Executable file
View 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 \
"$@"