summary refs log tree commit diff
path: root/host
diff options
context:
space:
mode:
Diffstat (limited to 'host')
-rwxr-xr-xhost/Rory-nginx/services/matrix/conduit.nix19
-rwxr-xr-xhost/Rory-nginx/services/matrix/synapse.nix1
2 files changed, 20 insertions, 0 deletions
diff --git a/host/Rory-nginx/services/matrix/conduit.nix b/host/Rory-nginx/services/matrix/conduit.nix
index 3594244..95e5d40 100755
--- a/host/Rory-nginx/services/matrix/conduit.nix
+++ b/host/Rory-nginx/services/matrix/conduit.nix
@@ -7,11 +7,30 @@
     settings.global = {
       address = "127.0.0.1";
       server_name = "conduit.rory.gay";
+      
       database_backend = "rocksdb";
+      rocksdb_optimize_for_spinning_disks = true;
+      rocksdb_max_log_file_size = 33554432;
+
+
+      allow_public_room_directory_over_federation = true;
+    
+      allow_device_name_federation = true;
       enable_lightning_bolt = true;
+      allow_local_presence = true;
+      allow_incoming_presence = true;
+      allow_outgoing_presence = true;
+      presence_idle_timeout_s = 60;
+      presence_offline_timeout_s = 180;
+
+
       max_concurrent_requests = 1000;
+      conduit_cache_capacity_modifier = 3.0;
+
+
       allow_check_for_updates = false;
       allow_registration = false;
+
       log = "info,state_res=info";
     };
   };
diff --git a/host/Rory-nginx/services/matrix/synapse.nix b/host/Rory-nginx/services/matrix/synapse.nix
index dcc9a10..df0b172 100755
--- a/host/Rory-nginx/services/matrix/synapse.nix
+++ b/host/Rory-nginx/services/matrix/synapse.nix
@@ -77,6 +77,7 @@
       };
       app_service_config_files = [
         #"/etc/matrix-synapse/appservice-registration.yaml"
+        "/var/lib/matrix-synapse/modas-registration.yaml"
       ];
 
       rc_message = {