summary refs log tree commit diff
path: root/host/Rory-nginx/services/matrix/sliding-sync.nix
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-07-01 18:32:45 +0200
committerRory& <root@rory.gay>2024-07-04 14:45:02 +0200
commitf5d72806b561c041f2dcccfd27aa6691462be32a (patch)
treeec7389c302bda59344bcb5474ae7e960f2ee22ba /host/Rory-nginx/services/matrix/sliding-sync.nix
parentSplit up synapse config (diff)
downloadRory-Open-Architecture-f5d72806b561c041f2dcccfd27aa6691462be32a.tar.xz
Synapse changes for testing
Diffstat (limited to 'host/Rory-nginx/services/matrix/sliding-sync.nix')
-rw-r--r--host/Rory-nginx/services/matrix/sliding-sync.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/host/Rory-nginx/services/matrix/sliding-sync.nix b/host/Rory-nginx/services/matrix/sliding-sync.nix
new file mode 100644
index 0000000..bb028bd
--- /dev/null
+++ b/host/Rory-nginx/services/matrix/sliding-sync.nix
@@ -0,0 +1,12 @@
+{ config }:
+{
+    services.matrix-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";
+    };
+]
\ No newline at end of file