fix pocket-id secret
This commit is contained in:
parent
1b44d1b31d
commit
0fa0c9869d
3 changed files with 6 additions and 2 deletions
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue