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
This commit is contained in:
William 2026-04-22 11:15:39 -03:00
parent ce7f597f01
commit 46d811a37e
4 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,17 @@
{
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;
};
};
}