From 187a77b1e8c136430a98f06adc70be691be80fab Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 10 Aug 2022 01:09:22 +0200 Subject: [PATCH] VEGAS/matrix: work around inaccurate assertions --- hosts/VEGAS/services/matrix/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/VEGAS/services/matrix/default.nix b/hosts/VEGAS/services/matrix/default.nix index 6d051ef..f5296b8 100644 --- a/hosts/VEGAS/services/matrix/default.nix +++ b/hosts/VEGAS/services/matrix/default.nix @@ -106,6 +106,9 @@ in { push.include_content = true; group_creation_prefix = "unofficial/"; log_config = logConfigJSON; + # HACK: upstream has a weird assertion that doesn't work with our HAProxy setup + # this host gets overridden by dbConfigOut + database = lib.recursiveUpdate dbConfig.database { args.host = "_patroni.local"; }; app_service_config_files = [ "/etc/synapse/discord-registration.yaml" ];