nix-config/aspects/hosts/_trantor/pocket-id.nix
2026-04-22 19:03:57 -03:00

22 lines
373 B
Nix

{
config,
lib,
inputs,
...
}:
{
services.pocket-id = {
enable = true;
environmentFile = config.age.secrets.pocket-id-key.path;
settings = {
APP_URL = "https://auth.baduhai.dev";
TRUST_PROXY = true;
ANALYTICS_DISABLED = true;
};
};
age.secrets.pocket-id-key = {
file = "${inputs.self}/secrets/pocket-id.key.age";
};
}