diff --git a/machines/fuuko/services/paperless.nix b/machines/fuuko/services/paperless.nix index 45e90b9..4ae82f8 100644 --- a/machines/fuuko/services/paperless.nix +++ b/machines/fuuko/services/paperless.nix @@ -24,6 +24,9 @@ PAPERLESS_TIME_ZONE = "Europe/Berlin"; PAPERLESS_FILENAME_FORMAT = "{correspondent}/{document_type}/{created}_{title}_{doc_pk}"; 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 { invalidate_digital_signatures = true; }; @@ -69,7 +72,8 @@ systemd.tmpfiles.rules = [ "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" ];