nixos/photoprism: allow writing to originalsPath, importPath and

storagePath
This commit is contained in:
Pascal Bach 2024-01-02 23:02:41 +01:00
parent ebcb6e60cb
commit 2c86e5321c

View File

@ -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}";