dotfiles/flake-modules
DannyDannyDanny 47fc658523 feat(clan): add vps-relay + strip bbbot cloudflared 🚢
Stage 4.5: declare a Hetzner-hosted reverse-proxy VPS as a clan machine.

- nixos/hosts/vps-relay.nix: Debian→NixOS cx23 in hel1. Caddy at public
  80/443 reverse-proxies navidrome.dannydannydanny.me and
  bbbot.dannydannydanny.me over ZT to sunken-ship.
- nixos/disko-cloud.nix: simple GPT + ext4 root, no LUKS — cloud provider
  has physical disk anyway and there's no operator at boot.
- flake-modules/clan.nix: register vps-relay as an inventory machine,
  zerotier peer, internet networking target at its clan-generated ZT
  IPv6, and add vps-relay.clan to clanHostsModule /etc/hosts.
- sunken-ship fitness-bot: drop pkgs.cloudflared from PATH + set
  WEBAPP_URL=https://bbbot.dannydannydanny.me. Paired with the bbbot
  upstream patch (start.py honors env WEBAPP_URL and skips cloudflared
  when set) — once the 15-min fitness-bot-pull timer pulls that change,
  bbbot will stop churning trycloudflare.com URLs.

Vars (zerotier identity/ip + sops machine key) generated on sunken-ship
because clan's hermetic sandbox on macOS fails to run the zerotier
identity generator (same workaround as for data-mesher earlier).

VPS install flow: Hetzner-created Debian box, then `clan machines
install vps-relay --target-host root@<public-ipv4>` reinstalls to
NixOS; subsequent updates go over ZT.
2026-04-24 13:43:21 +02:00
..
clan.nix feat(clan): add vps-relay + strip bbbot cloudflared 🚢 2026-04-24 13:43:21 +02:00
daniel-macbook-air.nix refactor(nix): move flake to repo root 🚚 2026-04-19 15:19:59 +02:00
installer-iso.nix refactor(nix): move flake to repo root 🚚 2026-04-19 15:19:59 +02:00
nixos-modules.nix refactor(nix): move flake to repo root 🚚 2026-04-19 15:19:59 +02:00
server-install.nix refactor(nix): move flake to repo root 🚚 2026-04-19 15:19:59 +02:00
wsl.nix refactor(nix): move flake to repo root 🚚 2026-04-19 15:19:59 +02:00