From 2c86e5321c8dd8204860a7e3d078e439980debae Mon Sep 17 00:00:00 2001 From: Pascal Bach Date: Tue, 2 Jan 2024 23:02:41 +0100 Subject: nixos/photoprism: allow writing to originalsPath, importPath and storagePath --- nixos/modules/services/web-apps/photoprism.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'nixos') diff --git a/nixos/modules/services/web-apps/photoprism.nix b/nixos/modules/services/web-apps/photoprism.nix index e25b034844244..23868903b0235 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}"; -- cgit 1.4.1