diff options
Diffstat (limited to 'nixos/modules/homelab/communications/mattermost.nix')
| -rw-r--r-- | nixos/modules/homelab/communications/mattermost.nix | 11 |
1 files changed, 8 insertions, 3 deletions
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 ''; }; } |
