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, config,
lib, lib,
inputs,
... ...
}: }:
{ {
services.pocket-id = { services.pocket-id = {
enable = true; enable = true;
environmentFile = "/etc/nixos/secrets/pocket-id.key"; environmentFile = config.age.secrets.pocket-id-key.path;
settings = { settings = {
APP_URL = "https://auth.baduhai.dev"; APP_URL = "https://auth.baduhai.dev";
TRUST_PROXY = true; TRUST_PROXY = true;
ANALYTICS_DISABLED = true; ANALYTICS_DISABLED = true;
}; };
}; };
age.secrets.pocket-id-key = {
file = "${inputs.self}/secrets/pocket-id.key.age";
};
} }

View file

@ -1 +0,0 @@
/Vg7Fgr1Gy+Jx84+5BwE+I+njloA6DDnCX2K3yVKB9Y=

BIN
secrets/pocket-id.key.age Normal file

Binary file not shown.