summary refs log tree commit diff
path: root/host/Rory-nginx/services/matrix/synapse.nix
diff options
context:
space:
mode:
Diffstat (limited to 'host/Rory-nginx/services/matrix/synapse.nix')
-rwxr-xr-xhost/Rory-nginx/services/matrix/synapse.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/host/Rory-nginx/services/matrix/synapse.nix b/host/Rory-nginx/services/matrix/synapse.nix
index b95994b..c1109aa 100755
--- a/host/Rory-nginx/services/matrix/synapse.nix
+++ b/host/Rory-nginx/services/matrix/synapse.nix
@@ -14,6 +14,11 @@ in
 
     sliding-sync = {
       enable = true;
+      settings = {
+        "SYNCV3_SERVER" = "http://localhost:8008";
+        "SYNCV3_DB" = "postgresql://%2Frun%2Fpostgresql/syncv3";
+        "SYNCV3_BINDADDR" = "0.0.0.0:8100";
+      };
       environmentFile = "/etc/sliding-sync.env";
     };