feat(APPA): add paperless-ngx

This commit is contained in:
Jacob Bachmann 2024-09-17 17:58:45 +02:00
parent 7d6afb5566
commit 0517922bf0
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
7 changed files with 50 additions and 2 deletions

View 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";
};
};
}