diff --git a/modules/communication.nix b/modules/communication.nix index 45afb25..9fed01b 100644 --- a/modules/communication.nix +++ b/modules/communication.nix @@ -10,7 +10,7 @@ tls = false; resources = [{ compress = true; - names = [ "client" "webclient" "federation" ]; + names = [ "client" ]; }]; x_forwarded = true; }]; @@ -18,7 +18,7 @@ # Telegram bridge for Matrix services.mautrix-telegram = { - enable = false; + enable = true; environmentFile = /var/lib/mautrix-telegram/telegram.env; settings = { homeserver = { diff --git a/modules/networking.nix b/modules/networking.nix index 7cc89e5..4c077f0 100644 --- a/modules/networking.nix +++ b/modules/networking.nix @@ -31,7 +31,6 @@ in { 80 # HTTP 443 # HTTPS 53 # DNS - 8448 # Matrix federation ]; allowedUDPPorts = [ 1194 # Wireguard diff --git a/modules/webstack.nix b/modules/webstack.nix index 662f8f2..45f95ce 100644 --- a/modules/webstack.nix +++ b/modules/webstack.nix @@ -60,7 +60,6 @@ extraConfig = "rewrite ^/miniflux/(.*)$ https://rss.coolneng.duckdns.org/$1 last;"; }; - locations."/.well-known/".alias = "${../well-known}" + "/"; }; "radicale.coolneng.duckdns.org" = { enableACME = true; diff --git a/well-known/matrix/server b/well-known/matrix/server deleted file mode 100644 index e3f2a32..0000000 --- a/well-known/matrix/server +++ /dev/null @@ -1 +0,0 @@ -{ "m.server": "matrix.coolneng.duckdns.org:443" }