summary refs log tree commit diff
path: root/host/Rory-nginx/services/matrix/synapse/workers/appservice.nix
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-07-04 00:47:48 +0200
committerRory& <root@rory.gay>2024-07-04 14:45:02 +0200
commit983815864d6d052b3d46685feea02959e4b2238b (patch)
tree2a24ffa9e0c33f62d634ffb102937ea1cba1a36b /host/Rory-nginx/services/matrix/synapse/workers/appservice.nix
parentSynapse main cleanup (diff)
downloadRory-Open-Architecture-983815864d6d052b3d46685feea02959e4b2238b.tar.xz
Synapse workers work
Diffstat (limited to 'host/Rory-nginx/services/matrix/synapse/workers/appservice.nix')
-rw-r--r--host/Rory-nginx/services/matrix/synapse/workers/appservice.nix13
1 files changed, 12 insertions, 1 deletions
diff --git a/host/Rory-nginx/services/matrix/synapse/workers/appservice.nix b/host/Rory-nginx/services/matrix/synapse/workers/appservice.nix
index 933642b..5f1323c 100644
--- a/host/Rory-nginx/services/matrix/synapse/workers/appservice.nix
+++ b/host/Rory-nginx/services/matrix/synapse/workers/appservice.nix
@@ -18,7 +18,18 @@ in
     workers = {
       appservice = {
         worker_app = "synapse.app.generic_worker";
-        worker_listeners = [ ];
+        worker_listeners = [
+          {
+            type = "http";
+            path = "/run/matrix-synapse/appservice.sock";
+            resources = [
+              {
+                names = ["replication"];
+                compress = false;
+              }
+            ];
+          }
+        ];
       };
     };
   };