5334881d3fa7ca5b600adada28bd31b1241ca72f
- headscale.tf: namespace + 1Gi PVC for SQLite state - apps/headscale.yaml: Deployment (headscale/headscale:0.23) + Service + ConfigMap - server_url: https://headscale.neuralplatform.ai - sqlite3 backend, DERP via Tailscale's map - MagicDNS base: vpn.neuralplatform.ai - Cloudflare tunnel: headscale.neuralplatform.ai → headscale.headscale.svc:8080 - DNS CNAME added via API Next: install tailscaled on Legion host, enroll as subnet router
infrastructure
Personal infrastructure-as-code for Legion (k3s home server) and supporting tooling.
| Doc | What it covers |
|---|---|
AGENTS.md |
Full reference: machines, secrets, services, domains, namespaces, common operations |
servers/legion/README.md |
What's running on Legion and how deployment works |
servers/legion/RUNBOOK.md |
Disaster recovery — full restore from scratch |
Quick start
cd servers/legion
direnv allow
terraform plan
terraform apply
Push to servers/ to deploy app changes via Argo CD.
Languages
HCL
78.4%
Shell
17.5%
Python
2.6%
Dockerfile
1.5%