summary refs log tree commit diff
path: root/host/Rory-nginx/services/matrix/synapse.nix
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-05-09 19:38:41 +0200
committerRory& <root@rory.gay>2024-07-04 14:45:02 +0200
commit849efe46893fb81e348b78e3208855f366132e84 (patch)
tree872e600ee0c62d0c67eeef001381d3bac2821be6 /host/Rory-nginx/services/matrix/synapse.nix
parentApparently it doesnt merge... (diff)
downloadRory-Open-Architecture-849efe46893fb81e348b78e3208855f366132e84.tar.xz
Sliding sync
Diffstat (limited to 'host/Rory-nginx/services/matrix/synapse.nix')
-rwxr-xr-xhost/Rory-nginx/services/matrix/synapse.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/host/Rory-nginx/services/matrix/synapse.nix b/host/Rory-nginx/services/matrix/synapse.nix
index 3edc87b..b5eaf2b 100755
--- a/host/Rory-nginx/services/matrix/synapse.nix
+++ b/host/Rory-nginx/services/matrix/synapse.nix
@@ -12,6 +12,15 @@ in
     enable = true;
     withJemalloc = true;
 
+    sliding-sync = {
+      enable = true;
+      settings = {
+        "SYNCV3_SERVER" = "http://localhost:8008";
+        "SYNCV3_DB" = "postgresql://%2Frun%2Fpostgresql/syncv3"
+        "SYNCV3_BINDADDR" = "0.0.0.0:8100"
+      }
+    };
+
     # https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html
     settings = {
       server_name = "rory.gay";