summaryrefslogtreecommitdiff
path: root/hosts/kay/modules
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2023-12-24 19:53:41 +0530
committersinanmohd <sinan@sinanmohd.com>2023-12-27 08:14:16 +0530
commit66c28201a4ca959757d7d81292a7980dbf5e08af (patch)
treea185441224a9ebfac70b064614708f0203b653c3 /hosts/kay/modules
parent565225847ebf54aa57722271dd83d99954a55076 (diff)
kay/matrix_sliding_sync: use localhost as SYNCV3_SERVER
reduce https overhead
Diffstat (limited to 'hosts/kay/modules')
-rw-r--r--hosts/kay/modules/matrix-sliding-sync.nix2
1 files changed, 1 insertions, 1 deletions
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}";
};
}