From 59d5edc2bf8707bc5888475763cef0236c721220 Mon Sep 17 00:00:00 2001 From: David Crompton Date: Thu, 12 Feb 2026 20:35:08 -0500 Subject: [PATCH] hippocampus: matrix: client: cinny config --- .../servers/public/matrix/client.nix | 25 ++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/machines/hippocampus/servers/public/matrix/client.nix b/machines/hippocampus/servers/public/matrix/client.nix index 6d1a2cb..3dacecf 100644 --- a/machines/hippocampus/servers/public/matrix/client.nix +++ b/machines/hippocampus/servers/public/matrix/client.nix @@ -4,7 +4,30 @@ addr = "unix:/run/nginx/cinny.sock"; }]; locations."/" = { - root = pkgs.cinny; + root = pkgs.cinny.override { + conf = { + defaultHomeserver = 0; + homeserverList = [ + "glia.club" + ]; + allowCustomHomeservers = false; + + featuredCommunities = { + openAsDefault = false; + spaces = [ + ]; + rooms = [ + ]; + servers = [ + ]; + }; + + hashRouter = { + enabled = false; + basename = "/"; + }; + }; + }; extraConfig = '' rewrite ^/config.json$ /config.json break; rewrite ^/manifest.json$ /manifest.json break;