Commit Graph

7 Commits

Author SHA1 Message Date
DJ Gillespie
e9509ca91e feat: apply permanent headscale configuration with OIDC and IP overrides 2026-01-28 20:37:00 -07:00
David Gillespie
7c1bdb2c54 feat: Complete Keycloak OIDC integration for Headplane
- Added Keycloak service with PostgreSQL backend
- Configured OIDC for both Headscale and Headplane
- Added systemd service to auto-create /var/lib/headplane directory
- Updated Keycloak realm JSON with required client scopes (openid, profile, email)
- Generated and configured Headscale API key for Headplane OIDC
- Added production hardening: auto-restart, garbage collection, boot cleanup

The setup now supports:
- User login via Keycloak OIDC at https://auth.kennys.mom
- Headplane web UI with SSO at https://headplane.kennys.mom/admin
- Fallback API key authentication
- Automated secret generation and permissions management
2025-12-05 17:37:53 -07:00
David Gillespie
f5d2a51f4d fix: Add auto-restart config and restore required Headplane settings
- Added systemd auto-restart configuration for headscale and headplane services
- Restored cookie_secret and cookie_secure settings required by Headplane
- Pinned Headplane to v0.6.0 to avoid Go version conflicts
- Updated flake.lock after pinning Headplane version
2025-12-05 16:00:17 -07:00
David Gillespie
e0bc963211 refactor: Move Headplane patches to flake overlay and remove local source 2025-12-02 00:38:30 -07:00
David Gillespie
8a67df3a37 chore: Cleanup unnecessary files and commit headplane patches 2025-12-02 00:31:02 -07:00
David Gillespie
683c7ca545 cleanup 2025-12-02 00:25:27 -07:00
David Gillespie
c4ae963f23 feat: Complete Headscale and Headplane setup with Nginx subdomain, ACL policy fix, and API mismatch patch 2025-12-02 00:22:58 -07:00