pocket-id: add service on trantor
- Add pocket-id service with nginx reverse proxy - Domain: auth.baduhai.dev - Uses SQLite database - Generate encryption key stored in age secrets
This commit is contained in:
parent
ce7f597f01
commit
46d811a37e
4 changed files with 29 additions and 0 deletions
17
aspects/hosts/_trantor/pocket-id.nix
Normal file
17
aspects/hosts/_trantor/pocket-id.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
services.pocket-id = {
|
||||
enable = true;
|
||||
environmentFile = "/etc/nixos/secrets/pocket-id.key";
|
||||
settings = {
|
||||
APP_URL = "https://auth.baduhai.dev";
|
||||
TRUST_PROXY = true;
|
||||
ANALYTICS_DISABLED = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue