Skip to content

Commit a00c193

Browse files
committed
nixos/akkoma: Provide cache directory via environment
CACHE_DIRECTORY is used in the default configuration and therefore needs to be provided in the environment for pleroma_ctl.
1 parent c0dbda8 commit a00c193

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nixos/modules/services/web-apps/akkoma.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ let
279279
cd "${cfg.package}"
280280
281281
RUNTIME_DIRECTORY="''${RUNTIME_DIRECTORY:-/run/akkoma}"
282+
CACHE_DIRECTORY="''${CACHE_DIRECTORY:-/var/cache/akkoma}" \
282283
AKKOMA_CONFIG_PATH="''${RUNTIME_DIRECTORY%%:*}/config.exs" \
283284
ERL_EPMD_ADDRESS="${cfg.dist.address}" \
284285
ERL_EPMD_PORT="${toString cfg.dist.epmdPort}" \

0 commit comments

Comments
 (0)