diff options
| author | triethyl <triethylammonium@pm.me> | 2025-10-27 14:24:06 -0400 |
|---|---|---|
| committer | triethyl <triethylammonium@pm.me> | 2025-10-27 14:24:06 -0400 |
| commit | 35cfd79980890310a5d4100932bd298742a5b170 (patch) | |
| tree | c37b7d86d23c310d63f8e15b15363d31eac39807 /nixos/modules/homelab/communications | |
| parent | 5f6f4fd7fa201154e0ee5c7cadc4bbe40388f0ed (diff) | |
homelab: added matrix module
Diffstat (limited to 'nixos/modules/homelab/communications')
| -rw-r--r-- | nixos/modules/homelab/communications/matrix.nix | 5 | ||||
| -rw-r--r-- | nixos/modules/homelab/communications/mattermost.nix | 11 |
2 files changed, 13 insertions, 3 deletions
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 ''; }; } |
