about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorLeona Maroni <dev@leona.is>2024-03-02 23:03:49 +0100
committerGitHub <noreply@github.com>2024-03-02 23:03:49 +0100
commit46ad1987b91b807a605deaa59e9973671edd0e1a (patch)
tree922e807ae02390203ef9f974c28f8ba4657a525e /nixos
parent551c27677d66d635004f44784d10643edfaec6db (diff)
parent1e5f255c115bd2bc63c76f9775cbc1fa1b8de655 (diff)
Merge pull request #278698 from bachp/photoprism-update
photoprism: 231011-63f708417 -> 231128-f48ff16ef
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/web-apps/photoprism.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/web-apps/photoprism.nix b/nixos/modules/services/web-apps/photoprism.nix
index ccf995fccf3e5..39eb7c65c6359 100644
--- a/nixos/modules/services/web-apps/photoprism.nix
+++ b/nixos/modules/services/web-apps/photoprism.nix
@@ -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}";