summaryrefslogtreecommitdiff
path: root/services/movim.nix
blob: 27b273b541ab5a84af756675fadd9c412ab0a1b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ fqdn }: { config, lib, pkgs, inputs, ... }:
let
  port =2024;
in
{
# Nginx configuration
  services.nginx = {
    enable = true;
    recommendedProxySettings = true;
    recommendedTlsSettings = true;
  };
   services.movim = {
      enable = true;
      domain = "${fqdn}";
      port = 2024; # WebSocket port
      
      podConfig = {
         timezone = "UTC";
         description = "OverBurnSocial";
         xmppdomain = fqdn;
      };
      nginx = 
        {
        forceSSL = true;
        useACMEHost = "crashoverburn.com";
      };
  };
}