upgrade to elasticsearch 7

This commit is contained in:
Charlotte 🦝 Delenk 2022-04-26 13:14:40 +01:00
parent 8d476bfcd2
commit 07a4d2ad4f
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -1,4 +1,4 @@
{ config, lib, ... }:
{ pkgs, config, lib, ... }:
let
listenIPs = (import ../../utils/getInternalIP.nix config).listenIPs;
listenStatements = lib.concatStringsSep "\n" (builtins.map (ip: "listen ${ip}:443 http3;") listenIPs) + ''
@ -105,4 +105,5 @@ in
port = 6379;
};
users.users.mastodon.home = lib.mkForce (toString config.services.mastodon.package);
services.elasticsearch.package = pkgs.elasticsearch7;
}