lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #277387 from traxys/jitsi_pam

nixos/jitsi-meet: allow to customize jitsi auth

authored by

lassulus and committed by
GitHub
387ef871 33ad5978

+9 -2
+9 -2
nixos/modules/services/web-apps/jitsi-meet.nix
··· 188 188 description = lib.mdDoc ''The port which the Excalidraw backend for Jitsi should listen to.''; 189 189 }; 190 190 191 - secureDomain.enable = mkEnableOption (lib.mdDoc "Authenticated room creation"); 191 + secureDomain = { 192 + enable = mkEnableOption (lib.mdDoc "Authenticated room creation"); 193 + authentication = mkOption { 194 + type = types.str; 195 + default = "internal_hashed"; 196 + description = lib.mdDoc ''The authentication type to be used by jitsi''; 197 + }; 198 + }; 192 199 }; 193 200 194 201 config = mkIf cfg.enable { ··· 309 316 enabled = true; 310 317 domain = cfg.hostName; 311 318 extraConfig = '' 312 - authentication = ${if cfg.secureDomain.enable then "\"internal_hashed\"" else "\"jitsi-anonymous\""} 319 + authentication = ${if cfg.secureDomain.enable then "\"${cfg.secureDomain.authentication}\"" else "\"jitsi-anonymous\""} 313 320 c2s_require_encryption = false 314 321 admins = { "focus@auth.${cfg.hostName}" } 315 322 smacks_max_unacked_stanzas = 5