From 66c28201a4ca959757d7d81292a7980dbf5e08af Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sun, 24 Dec 2023 19:53:41 +0530 Subject: kay/matrix_sliding_sync: use localhost as SYNCV3_SERVER reduce https overhead --- hosts/kay/modules/matrix-sliding-sync.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hosts/kay/modules') diff --git a/hosts/kay/modules/matrix-sliding-sync.nix b/hosts/kay/modules/matrix-sliding-sync.nix index 526734b..b86a0bf 100644 --- a/hosts/kay/modules/matrix-sliding-sync.nix +++ b/hosts/kay/modules/matrix-sliding-sync.nix @@ -9,6 +9,6 @@ in services.matrix-sliding-sync = { enable = true; environmentFile = config.sops.secrets."matrix-${domain}/sliding_sync".path; - settings.SYNCV3_SERVER = "https://${domain}"; + settings.SYNCV3_SERVER = "http://127.0.0.1:${toString config.services.dendrite.httpPort}"; }; } -- cgit v1.2.3