From f73e7b4cbe2255edf4666ddb429776cbf0c4344a Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Tue, 8 Oct 2024 22:51:23 +0200 Subject: [PATCH] fuuko/paperless: Enable advanced options --- machines/fuuko/services/paperless.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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" ];