NixOS configuration for snek.cc hosting ATProto services.
- Bluesky PDS - Personal Data Server at
pds.snek.cc - Microcosm Constellation - Available at
constellation.snek.cc(alias:con.snek.cc) - Microcosm Spacedust - Available at
spacedust.snek.cc(alias:sd.snek.cc) - Static Sites - Main site and PDSLS at
snek.ccandpdsls.snek.cc
- Rate-limited API endpoints (10 req/s, burst 20)
- Automatic TLS with on-demand certificate generation
- Caddy reverse proxy with custom rate limiting plugin
- sops-nix for secrets management
Secrets are managed using sops-nix with age encryption via SSH host key:
pds_jwt_secret- JWT signing key for PDSpds_admin_password- Admin passwordpds_plc_rotation_key- PLC rotation keyacme_email- Email for ACME/Let's Encrypt
Edit secrets with:
sops secrets.sops.yamlnixos-rebuild switch --flake .#nixostangled