fix pocket-id secret

This commit is contained in:
William 2026-04-22 18:58:44 -03:00
parent 1b44d1b31d
commit 0fa0c9869d
3 changed files with 6 additions and 2 deletions

View file

@ -1,17 +1,22 @@
{
config,
lib,
inputs,
...
}:
{
services.pocket-id = {
enable = true;
environmentFile = "/etc/nixos/secrets/pocket-id.key";
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";
};
}