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/matrix.nix | 5 +++++ nixos/modules/homelab/communications/mattermost.nix | 11 ++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 nixos/modules/homelab/communications/matrix.nix (limited to 'nixos/modules/homelab/communications') diff --git a/nixos/modules/homelab/communications/matrix.nix b/nixos/modules/homelab/communications/matrix.nix new file mode 100644 index 0000000..9e5a9b7 --- /dev/null +++ b/nixos/modules/homelab/communications/matrix.nix @@ -0,0 +1,5 @@ +{config, pkgs, lib, ...}: let + cfg = config.homelab.communications.matrix; +in { + +} 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