diff --git a/hosts/faunus-ater.nix b/hosts/faunus-ater.nix index c6d6627..e98deb0 100644 --- a/hosts/faunus-ater.nix +++ b/hosts/faunus-ater.nix @@ -250,9 +250,11 @@ in { passwordFile = sopsPath "paperless-admin-password"; dataDir = "/data/dirty/paperless"; extraConfig = { - PAPERLESS_OCR_LANGUAGE = "deu"; + PAPERLESS_CONSUMER_DELETE_DUPLICATES = true; PAPERLESS_CONSUMER_RECURSIVE = true; PAPERLESS_CONSUMER_SUBDIRS_AS_TAGS = true; + PAPERLESS_FILENAME_FORMAT = "{created_year}/{correspondent}/{created_year}-{created_month}-{created_day}-{document_type}-{title}-{tag_list}"; + PAPERLESS_OCR_LANGUAGE = "deu"; PAPERLESS_URL = "https://doc.home"; }; };