From 092a45e3bd8929214b0294bb3bc45d0eaee0f139 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Tue, 8 Oct 2024 19:09:17 +0200 Subject: [PATCH] mastodon: actually use opensearch via module option --- modules/mastodon/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/mastodon/default.nix b/modules/mastodon/default.nix index a26d7dd9..47d93f49 100644 --- a/modules/mastodon/default.nix +++ b/modules/mastodon/default.nix @@ -67,14 +67,14 @@ passwordFile = "/run/agenix/mastodon-smtp-password"; fromAddress = "mastodon-notifications@pub.solar"; }; + # Defined in ./opensearch.nix + elasticsearch.host = "127.0.0.1"; mediaAutoRemove = { olderThanDays = 7; }; extraEnvFiles = [ "/run/agenix/mastodon-extra-env-secrets" ]; extraConfig = { WEB_DOMAIN = "mastodon.${config.pub-solar-os.networking.domain}"; - # Defined in ./opensearch.nix - ES_HOST = "127.0.0.1"; # S3 File storage (optional) # ----------------------- S3_ENABLED = "true";