Commit 2c86e532 authored by Pascal Bach's avatar Pascal Bach
Browse files

nixos/photoprism: allow writing to originalsPath, importPath and

storagePath
parent ebcb6e60
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -104,6 +104,7 @@ in
        StateDirectory = "photoprism";
        WorkingDirectory = "/var/lib/photoprism";
        RuntimeDirectory = "photoprism";
        ReadWritePaths = [ cfg.originalsPath cfg.importPath cfg.storagePath ];

        LoadCredential = lib.optionalString (cfg.passwordFile != null)
          "PHOTOPRISM_ADMIN_PASSWORD:${cfg.passwordFile}";