summaryrefslogtreecommitdiff
path: root/services/movim.nix
diff options
context:
space:
mode:
Diffstat (limited to 'services/movim.nix')
-rw-r--r--services/movim.nix32
1 files changed, 18 insertions, 14 deletions
diff --git a/services/movim.nix b/services/movim.nix
index 25759a4..27b273b 100644
--- a/services/movim.nix
+++ b/services/movim.nix
@@ -1,24 +1,28 @@
{ fqdn }: { config, lib, pkgs, inputs, ... }:
let
- certs = config.security.acme.certs;
- certDirectory = "${certs.${fqdn}.directory}";
- port = config.services.murmur.port;
- dbfolder = "/persist/replicable/murmur/murmur.sqlite";
+ port =2024;
in
{
- users.groups.ejabberd-cert.members = [ "ejabberd" "nginx" ];
+# Nginx configuration
+ services.nginx = {
+ enable = true;
+ recommendedProxySettings = true;
+ recommendedTlsSettings = true;
+ };
services.movim = {
enable = true;
- domain = "social.${fqdn}";
+ domain = "${fqdn}";
+ port = 2024; # WebSocket port
+
podConfig = {
- locale = "en";
+ timezone = "UTC";
description = "OverBurnSocial";
xmppdomain = fqdn;
};
- serverAliases = [
- "pics.${config.movim.domain}"
- ];
- enableACME = true;
- forceHttps = true;
- };
-};
+ nginx =
+ {
+ forceSSL = true;
+ useACMEHost = "crashoverburn.com";
+ };
+ };
+}