piabrota.art · nix-os

hosts · two VPSs

One flake, two machines. KVM 1 serves the public web; KVM 4 runs Hermes. A merge to main builds both systems and deploys each one.

Porkbun DNS sends www.piabrota.art to KVM 1 and hermes.piabrota.art to KVM 4; chats reach Hermes on KVM 4; deploy.yml deploys both.

Who does what

hosts/<name>/default.nix

VPS 1 · KVM 1

piabrota (srv2108887) · 1 vCPU, 4 GB

  • www.piabrota.art: this site, prerendered from Gleam
  • piabrota.art and /nixos: redirects
  • /notes: a Loco app on SQLite

VPS 2 · KVM 4

piabrota2 · 4 vCPU, 16 GB

  • hermes-agent: the full Hermes, its chats, cron jobs and omp
  • hermes.piabrota.art: Hermes's dashboard, behind basic auth
  • piabrota-hermes[bot]: pull requests on hermes/* branches
  • PGX: a Postgres for data you can lose