diff options
author | Luka T. Korošec <pizmovc@kalu.blue> | 2024-04-01 18:48:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-01 20:48:07 +0400 |
commit | 126759eb5886b953adccc5cc471f5193da66e27a (patch) | |
tree | 14db3b3f14ad6463e91fb4b506e27d0d31f9a915 /nixos/modules/services/web-apps | |
parent | 641d9a463b7b99da1d15dbbc9c926b571d5af362 (diff) |
outline: Add localRootDir to ReadWritePaths (#298892)
The service can't write to the localRootDir if its set outside of its
state directory, thus we have to manually mark it as writable.
Diffstat (limited to 'nixos/modules/services/web-apps')
-rw-r--r-- | nixos/modules/services/web-apps/outline.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/web-apps/outline.nix b/nixos/modules/services/web-apps/outline.nix index 702755dfa2ab..09dd6f83f39a 100644 --- a/nixos/modules/services/web-apps/outline.nix +++ b/nixos/modules/services/web-apps/outline.nix @@ -783,6 +783,8 @@ in # This working directory is required to find stuff like the set of # 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 ]; }; }; }; |