Files
JakeHillion 297159274c
commit-validation / validate-single-commit (pull_request) Successful in 3s
buildbot/nix-eval Build done. (511 warnings)
buildbot/nix-build Build done.
buildbot/nix-effects Build done.
services/openwebui: add OpenWebUI service module with PostgreSQL and pgvector
Ship OpenWebUI on warlock.cx.neb.jakehillion.me to provide a web UI for interacting with LLMs. The service connects to CanopyWave's Kimi K2.6 via OpenAI-compatible API.

Uses the upstream NixOS services.open-webui module with a fixed system user (replacing DynamicUser) for PostgreSQL peer auth. Configures PostgreSQL with the pgvector extension for RAG support. Exposes the service via Nebula VPN Caddy reverse proxy. Includes PostgreSQL and restic backup integration following the existing firefly-iii pattern.

Reuses the existing agenix secret at secrets/ai/canopy-wave-unlimited.age for the API key, so no new secret files were needed.

Test plan:
- nix eval confirms services.open-webui.enable=true and port=8080 on warlock
- nix fmt clean
- Config validates: PostgreSQL + pgvector + open-webui DB, nebula proxy, restic backup
2026-04-27 14:17:13 +01:00
..