From 566fe186823e87bc0580ced5eaa21eb540cfcd68 Mon Sep 17 00:00:00 2001 From: "Rory&::Emma" Date: Fri, 6 Sep 2024 20:21:59 +0000 Subject: Server changes --- flake.nix | 2 +- host/Rory-nginx/configuration.nix | 6 ++++++ host/Rory-nginx/services/matrix/synapse/synapse-main.nix | 2 +- 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 = { -- cgit 1.4.1