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,
|
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";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
/Vg7Fgr1Gy+Jx84+5BwE+I+njloA6DDnCX2K3yVKB9Y=
|
|
||||||
BIN
secrets/pocket-id.key.age
Normal file
BIN
secrets/pocket-id.key.age
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue