From ca56a5bb7342666ac6edbbc82b38d60952175ab6 Mon Sep 17 00:00:00 2001 From: sefidel Date: Thu, 11 Jan 2024 17:41:00 +0900 Subject: chore(modules/matrix-homeserver): services.matrix-synapse.sliding-sync -> services.matrix-sliding-sync --- modules/services/matrix-homeserver.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'modules/services') diff --git a/modules/services/matrix-homeserver.nix b/modules/services/matrix-homeserver.nix index 6687e1d..36d6dbc 100644 --- a/modules/services/matrix-homeserver.nix +++ b/modules/services/matrix-homeserver.nix @@ -95,16 +95,16 @@ in "turn:${cfg.turn.domain}?transport=tcp" ]; }; + }; - sliding-sync = { - enable = true; - createDatabase = true; - settings = { - SYNCV3_SERVER = "https://${cfg.realHost}"; - SYNCV3_BINDADDR = "[::1]:${toString slidingSyncPort}"; - }; - environmentFile = cfg.secrets.sliding-sync-secret; + services.matrix-sliding-sync = { + enable = true; + createDatabase = true; + settings = { + SYNCV3_SERVER = "https://${cfg.realHost}"; + SYNCV3_BINDADDR = "[::1]:${toString slidingSyncPort}"; }; + environmentFile = cfg.secrets.sliding-sync-secret; }; services.prometheus.scrapeConfigs = [ @@ -182,7 +182,7 @@ in services.nginx.virtualHosts.${cfg.slidingSyncHost} = { forceSSL = true; useACMEHost = cfg.domain; - locations."/".proxyPass = "http://${config.services.matrix-synapse.sliding-sync.settings.SYNCV3_BINDADDR}"; + locations."/".proxyPass = "http://${config.services.matrix-sliding-sync.settings.SYNCV3_BINDADDR}"; }; networking.firewall.allowedTCPPorts = [ 443 8448 ]; -- cgit 1.4.1