nixos/photoprism: allow writing to originalsPath, importPath and
storagePath
This commit is contained in:
@@ -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}";
|
||||
|
||||
Reference in New Issue
Block a user