Files
aloslider 6761a7c440 Init
Initial commit, nodes are mostly done, panel is WIP
2026-11-17 11:18:02 +03:00

17 lines
344 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
root=$(cd "$(dirname "$0")/.." && pwd)
cd "$root"
source "$root/scripts/select-node.sh"
if [[ $# -ge 1 ]]; then
node=$1
else
node=$(select_node)
fi
SOPS_AGE_KEY_FILE=~/.config/sops/age/$node-key.txt \
sops --config ~/Projects/vps-nixos/.sops.yaml \
~/Projects/vps-nixos/hosts/$node/secrets.yaml