From 35cfd79980890310a5d4100932bd298742a5b170 Mon Sep 17 00:00:00 2001 From: triethyl Date: Mon, 27 Oct 2025 14:24:06 -0400 Subject: homelab: added matrix module --- nixos/modules/homelab/communications/mattermost.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'nixos/modules/homelab/communications/mattermost.nix') diff --git a/nixos/modules/homelab/communications/mattermost.nix b/nixos/modules/homelab/communications/mattermost.nix index f15002f..db3f759 100644 --- a/nixos/modules/homelab/communications/mattermost.nix +++ b/nixos/modules/homelab/communications/mattermost.nix @@ -20,12 +20,17 @@ in { config = lib.mkIf cfg.enable { services.mattermost = { enable = true; - host = full-domain; - siteName = "CompSciClub"; + siteName = "CS Club"; + siteUrl = "https://${full-domain}"; dataDir = "/srv/mattermost"; + settings = { + TeamSettings = { + EnableOpenServer = true; + }; + }; }; services.caddy.virtualHosts.${full-domain}.extraConfig = '' - reverse_proxy http://127.0.0.1:8065 {} + reverse_proxy http://127.0.0.1:8065 ''; }; } -- cgit v1.2.3