blob: 4d9ce31a72902240cdcaea0bc475c800a0896606 (
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";
};
};
}
|