summary refs log tree commit diff
diff options
context:
space:
mode:
-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 = {