Commit f3d497310596

Vincent Demeester <vincent@sbr.pm>
2026-01-30 23:06:16
refactor(paperless): simplify filename format
Remove correspondent and ASN from filename template since they're mostly unused and create clutter (double dashes when empty). New format: year/document_type/YYYY-MM-DD - title (doc_pk).pdf Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 8a6ffa8
Changed files (1)
systems
sakhalin
systems/sakhalin/extra.nix
@@ -140,7 +140,7 @@ in
       settings = {
         PAPERLESS_URL = "https://paperless.sbr.pm";
         PAPERLESS_EMPTY_TRASH_DIR = "/mnt/gaia/paperless/trash";
-        PAPERLESS_FILENAME_FORMAT = "{{ created_year }}/{{ document_type }}/{{ created }} - {{ correspondent }} - {{ title }} - {{ asn }} ({{ doc_pk }})";
+        PAPERLESS_FILENAME_FORMAT = "{{ created_year }}/{{ document_type }}/{{ created }} - {{ title }} ({{ doc_pk }})";
         PAPERLESS_FILENAME_FORMAT_REMOVE_NONE = "true";
       };
     };