diff options
Diffstat (limited to 'nixos/modules/services/web-apps/outline.nix')
-rw-r--r-- | nixos/modules/services/web-apps/outline.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-apps/outline.nix b/nixos/modules/services/web-apps/outline.nix index 09dd6f83f39ac..891d78d4045b4 100644 --- a/nixos/modules/services/web-apps/outline.nix +++ b/nixos/modules/services/web-apps/outline.nix @@ -784,7 +784,7 @@ in # onboarding files: WorkingDirectory = "${cfg.package}/share/outline"; # In case this directory is not in /var/lib/outline, it needs to be made writable explicitly - ReadWritePaths = [ cfg.storage.localRootDir ]; + ReadWritePaths = lib.mkIf (cfg.storage.storageType == "local") [ cfg.storage.localRootDir ]; }; }; }; |