summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory&::Emma <root@rory.gay>2024-09-06 20:21:59 +0000
committerRory&::Emma <root@rory.gay>2024-09-06 20:23:07 +0000
commit566fe186823e87bc0580ced5eaa21eb540cfcd68 (patch)
treeeb65f2c9b242617d76f3603ec1b5751b19ab0930
parentSome synapse work, expose nheko-git and mtxclient-git packages (diff)
downloadRory-Open-Architecture-566fe186823e87bc0580ced5eaa21eb540cfcd68.tar.xz
Server changes
-rwxr-xr-xflake.nix2
-rwxr-xr-xhost/Rory-nginx/configuration.nix6
-rwxr-xr-xhost/Rory-nginx/services/matrix/synapse/synapse-main.nix2
3 files changed, 8 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 6b9576a..e3cf2a9 100755
--- a/flake.nix
+++ b/flake.nix
@@ -86,7 +86,7 @@
                     python312 = prev.python312.override {
                       packageOverrides = python-self: python-super: {
                         matrix-nio = python-super.matrix-nio.overridePythonAttrs (old: {
-                          pythonRelaxDeps = [ "aiohttp-socks" ];
+                          pythonRelaxDeps = [ "aiohttp-socks" "aiofiles" ];
                         });
                       };
                     };
diff --git a/host/Rory-nginx/configuration.nix b/host/Rory-nginx/configuration.nix
index 14dbd9d..725384a 100755
--- a/host/Rory-nginx/configuration.nix
+++ b/host/Rory-nginx/configuration.nix
@@ -51,6 +51,9 @@
       #enableIPv6 = true;
     };
     enableIPv6 = lib.mkForce true;
+    nameservers = lib.mkOverride [
+      "192.168.1.1"
+    ];
   };
 
   monitoring = {
@@ -91,4 +94,7 @@
   containers."draupnir-linux-mint" = import ./services/containers/draupnir-linux-mint/container.nix { inherit pkgs lib nixpkgs-Draupnir; };
 
   system.stateVersion = "22.11"; # DO NOT EDIT!
+
+
+  environment.systemPackages = with pkgs; [ waypipe ];
 }
diff --git a/host/Rory-nginx/services/matrix/synapse/synapse-main.nix b/host/Rory-nginx/services/matrix/synapse/synapse-main.nix
index 9c12e75..7387d46 100755
--- a/host/Rory-nginx/services/matrix/synapse/synapse-main.nix
+++ b/host/Rory-nginx/services/matrix/synapse/synapse-main.nix
@@ -27,7 +27,7 @@
     enableUserDirWorker = true;
 
     eventStreamWriters = 4; #8
-    presenceStreamWriters = 2;
+    presenceStreamWriters = 1;
 
     # https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html
     settings = {