summary refs log tree commit diff
path: root/host/Rory-nginx/services
diff options
context:
space:
mode:
authorRory&::Emma <root@rory.gay>2024-01-20 15:32:52 +0000
committerRory&::Emma <root@rory.gay>2024-01-20 15:36:54 +0000
commit2b68eeed357e6b83103de561637f465c4f6b363c (patch)
treecb58680405550d03c910af7d1e6d646c2baf54f7 /host/Rory-nginx/services
parentMove dconf to Rory.client.nix (diff)
downloadRory-Open-Architecture-2b68eeed357e6b83103de561637f465c4f6b363c.tar.xz
Changes
Diffstat (limited to 'host/Rory-nginx/services')
-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 = {