Commit a02528058e29

Vincent Demeester <vincent@sbr.pm>
2026-01-30 11:12:13
chore(paperless): document sakhalin/aion storage plan
1 parent 39a5a1d
Changed files (2)
systems
systems/aion/extra.nix
@@ -106,6 +106,19 @@ in
   };
 
   services = {
+    # Paperless storage plan (not enabled here yet).
+    # Target layout: /neo/paperless/{consume,data,media,trash} (or /neo/documents with migration).
+    # Filename format mirrors sakhalin: year/type + rich metadata.
+    # paperless = {
+    #   settings = {
+    #     PAPERLESS_CONSUMPTION_DIR = "/neo/paperless/consume";
+    #     PAPERLESS_DATA_DIR = "/neo/paperless/data";
+    #     PAPERLESS_MEDIA_ROOT = "/neo/paperless/media";
+    #     PAPERLESS_EMPTY_TRASH_DIR = "/neo/paperless/trash";
+    #     PAPERLESS_FILENAME_FORMAT = "{{ created_year }}/{{ document_type }}/{{ created }} - {{ correspondent }} - {{ title }} - {{ asn }} ({{ doc_pk }})";
+    #     PAPERLESS_FILENAME_FORMAT_REMOVE_NONE = "true";
+    #   };
+    # };
     # Binary cache server (aarch64-linux)
     harmonia-cache = {
       enable = true;
systems/sakhalin/extra.nix
@@ -135,6 +135,7 @@ in
       address = "0.0.0.0"; # Listen on all interfaces for access via LAN and VPN
       port = 8000;
       settings = {
+        # Temporary sakhalin storage.
         PAPERLESS_URL = "https://paperless.sbr.pm";
         PAPERLESS_CONSUMPTION_DIR = "/mnt/gaia/paperless/consume";
         PAPERLESS_DATA_DIR = "/mnt/gaia/paperless/data";