diff --git a/secret/hosts/sail.nix b/secret/hosts/sail.nix index 6891194..218ea9c 100644 Binary files a/secret/hosts/sail.nix and b/secret/hosts/sail.nix differ diff --git a/system/nixos/mastodon.nix b/system/nixos/mastodon.nix index ec48807..e67fb74 100644 --- a/system/nixos/mastodon.nix +++ b/system/nixos/mastodon.nix @@ -50,7 +50,10 @@ in port = 6379; }; - elasticsearch.host = null; + elasticsearch = { + host = "10.99.99.3"; + port = 9200; + }; smtp = { createLocally = false; @@ -72,6 +75,9 @@ in extraConfig = { WEB_DOMAIN = web-domain; + + ES_USER = secret.mastodon.elasticsearch.user; + ES_PASS = secret.mastodon.elasticsearch.password; }; };