about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--modules/by-name/ji/jitsi-meet/module.nix23
1 files changed, 22 insertions, 1 deletions
diff --git a/modules/by-name/ji/jitsi-meet/module.nix b/modules/by-name/ji/jitsi-meet/module.nix
index cfa0782..9b8d5ad 100644
--- a/modules/by-name/ji/jitsi-meet/module.nix
+++ b/modules/by-name/ji/jitsi-meet/module.nix
@@ -3,7 +3,7 @@
   lib,
   config,
   nixpkgs-unstable,
-pkgsUnstable,
+  pkgsUnstable,
   ...
 }: let
   cfg = config.vhack.jitsi-meet;
@@ -63,6 +63,27 @@ in {
               p.cjson
             ];
         });
+
+        virtualHosts = {
+          "recorder.${cfg.domain}" = {
+            extraConfig = ''
+              main_muc = "conference.${cfg.domain}"
+              muc_component = "conference.${cfg.domain}"
+            '';
+          };
+          "auth.${cfg.domain}" = {
+            extraConfig = ''
+              main_muc = "conference.${cfg.domain}"
+              muc_component = "conference.${cfg.domain}"
+            '';
+          };
+          "guest.${cfg.domain}" = {
+            extraConfig = ''
+              main_muc = "conference.${cfg.domain}"
+              muc_component = "conference.${cfg.domain}"
+            '';
+          };
+        };
       };
 
       jitsi-videobridge = {