fuuko/paperless: Enable advanced options

This commit is contained in:
Simon Bruder 2024-10-08 22:51:23 +02:00
parent 4837424909
commit f73e7b4cbe
Signed by: simon
GPG key ID: 347FF8699CDA0776

View file

@ -24,6 +24,9 @@
PAPERLESS_TIME_ZONE = "Europe/Berlin"; PAPERLESS_TIME_ZONE = "Europe/Berlin";
PAPERLESS_FILENAME_FORMAT = "{correspondent}/{document_type}/{created}_{title}_{doc_pk}"; PAPERLESS_FILENAME_FORMAT = "{correspondent}/{document_type}/{created}_{title}_{doc_pk}";
PAPERLESS_CONSUMER_RECURSIVE = true; PAPERLESS_CONSUMER_RECURSIVE = true;
PAPERLESS_CONSUMER_ENABLE_BARCODES = true;
PAPERLESS_CONSUMER_ENABLE_ASN_BARCODE = true;
PAPERLESS_CONSUMER_ENABLE_COLLATE_DOUBLE_SIDED = true;
PAPERLESS_OCR_USER_ARGS = builtins.toJSON { PAPERLESS_OCR_USER_ARGS = builtins.toJSON {
invalidate_digital_signatures = true; invalidate_digital_signatures = true;
}; };
@ -69,7 +72,8 @@
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [
"d /var/lib/scans 0555 scan root -" "d /var/lib/scans 0555 scan root -"
"d /var/lib/scans/paperless 0775 scan paperless -" "d /var/lib/scans/paperless 0770 scan paperless -"
"d /var/lib/scans/paperless/double-sided 0770 scan paperless -"
"L /var/lib/paperless/consume/ftp - - - - /var/lib/scans/paperless" "L /var/lib/paperless/consume/ftp - - - - /var/lib/scans/paperless"
]; ];