nix-config/aspects/hosts/_trantor/pocket-id.nix
William 46d811a37e pocket-id: add service on trantor
- Add pocket-id service with nginx reverse proxy
- Domain: auth.baduhai.dev
- Uses SQLite database
- Generate encryption key stored in age secrets
2026-04-22 11:15:39 -03:00

17 lines
267 B
Nix

{
config,
lib,
...
}:
{
services.pocket-id = {
enable = true;
environmentFile = "/etc/nixos/secrets/pocket-id.key";
settings = {
APP_URL = "https://auth.baduhai.dev";
TRUST_PROXY = true;
ANALYTICS_DISABLED = true;
};
};
}