thrall: Configure automatic exports for paperless

This commit is contained in:
Alexander Kobjolke 2026-01-15 23:03:00 +01:00
parent 5799216ea4
commit 42d53f6500

View file

@ -322,19 +322,17 @@ in
services.paperless = { services.paperless = {
enable = true; enable = true;
address = "127.0.0.1"; address = "127.0.0.1";
domain = "docs.failco.de";
port = 3002; port = 3002;
consumptionDirIsPublic = true; consumptionDirIsPublic = true;
configureTika = true; configureTika = true;
exporter.enable = true;
settings = { settings = {
PAPERLESS_OCR_LANGUAGE = "deu+eng"; PAPERLESS_OCR_LANGUAGE = "deu+eng";
PAPERLESS_OCR_USER_ARGS = ''{"invalidate_digital_signatures": true}''; PAPERLESS_OCR_USER_ARGS = ''{"invalidate_digital_signatures": true}'';
PAPERLESS_URL = "https://docs.failco.de"; PAPERLESS_URL = "https://docs.failco.de";
PAPERLESS_CONSUMER_RECURSIVE = true; PAPERLESS_CONSUMER_RECURSIVE = true;
PAPERLESS_CONSUMER_SUBDIRS_AS_TAGS = true; PAPERLESS_CONSUMER_SUBDIRS_AS_TAGS = true;
# workaround for classification getting stuck, see
# https://github.com/NixOS/nixpkgs/issues/240591#issuecomment-1915678490
OMP_NUM_THREADS = 1;
}; };
}; };