nix-flake/modules/system/homelab/idp.nix
2026-03-01 17:23:21 +07:00

12 lines
No EOL
293 B
Nix

{ homelab, ... }: {
services.pocket-id = {
enable = true;
credentials.ENCRYPTION_KEY = "/var/lib/pocket-id/encryption-key";
settings = {
PORT = "1411";
HOST = "127.0.0.1";
APP_URL = "https://auth.proxy.${homelab.domain}";
TRUST_PROXY = true;
};
};
}