feat(APPA): add paperless-ngx
This commit is contained in:
parent
7d6afb5566
commit
0517922bf0
7 changed files with 50 additions and 2 deletions
18
hosts/APPA/services/paperless.nix
Normal file
18
hosts/APPA/services/paperless.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
|
||||
age.secrets.passwords-paperless-admin = {
|
||||
file = ../../../secrets/passwords/paperless/admin.age;
|
||||
};
|
||||
|
||||
services.paperless = {
|
||||
enable = true;
|
||||
port = 8006;
|
||||
passwordFile = config.age.secrets.passwords-paperless-admin.path;
|
||||
settings = {
|
||||
PAPERLESS_DBHOST = "/run/postgresql";
|
||||
PAPERLESS_OCR_LANGUAGE = "deu+eng";
|
||||
PAPERLESS_URL = "https://paperless.dryb.org";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue