lol

nixos/jitsi-meet: convert manual chapter to MD

pennae b5990a47 1be48def

+73 -32
+45
nixos/modules/services/web-apps/jitsi-meet.md
··· 1 + # Jitsi Meet {#module-services-jitsi-meet} 2 + 3 + With Jitsi Meet on NixOS you can quickly configure a complete, 4 + private, self-hosted video conferencing solution. 5 + 6 + ## Basic usage {#module-services-jitsi-basic-usage} 7 + 8 + A minimal configuration using Let's Encrypt for TLS certificates looks like this: 9 + ``` 10 + { 11 + services.jitsi-meet = { 12 + enable = true; 13 + hostName = "jitsi.example.com"; 14 + }; 15 + services.jitsi-videobridge.openFirewall = true; 16 + networking.firewall.allowedTCPPorts = [ 80 443 ]; 17 + security.acme.email = "me@example.com"; 18 + security.acme.acceptTerms = true; 19 + } 20 + ``` 21 + 22 + ## Configuration {#module-services-jitsi-configuration} 23 + 24 + Here is the minimal configuration with additional configurations: 25 + ``` 26 + { 27 + services.jitsi-meet = { 28 + enable = true; 29 + hostName = "jitsi.example.com"; 30 + config = { 31 + enableWelcomePage = false; 32 + prejoinPageEnabled = true; 33 + defaultLang = "fi"; 34 + }; 35 + interfaceConfig = { 36 + SHOW_JITSI_WATERMARK = false; 37 + SHOW_WATERMARK_FOR_GUESTS = false; 38 + }; 39 + }; 40 + services.jitsi-videobridge.openFirewall = true; 41 + networking.firewall.allowedTCPPorts = [ 80 443 ]; 42 + security.acme.email = "me@example.com"; 43 + security.acme.acceptTerms = true; 44 + } 45 + ```
+2
nixos/modules/services/web-apps/jitsi-meet.nix
··· 451 451 }; 452 452 }; 453 453 454 + # Don't edit the docbook xml directly, edit the md and generate it: 455 + # `pandoc jitsi-meet.md -t docbook --top-level-division=chapter --extract-media=media -f markdown-smart --lua-filter ../../../../doc/build-aux/pandoc-filters/myst-reader/roles.lua --lua-filter ../../../../doc/build-aux/pandoc-filters/docbook-writer/rst-roles.lua > jitsi-meet.xml` 454 456 meta.doc = ./jitsi-meet.xml; 455 457 meta.maintainers = lib.teams.jitsi.members; 456 458 }
+26 -32
nixos/modules/services/web-apps/jitsi-meet.xml
··· 1 - <chapter xmlns="http://docbook.org/ns/docbook" 2 - xmlns:xlink="http://www.w3.org/1999/xlink" 3 - xmlns:xi="http://www.w3.org/2001/XInclude" 4 - version="5.0" 5 - xml:id="module-services-jitsi-meet"> 6 - <title>Jitsi Meet</title> 7 - <para> 8 - With Jitsi Meet on NixOS you can quickly configure a complete, 9 - private, self-hosted video conferencing solution. 10 - </para> 11 - 12 - <section xml:id="module-services-jitsi-basic-usage"> 13 - <title>Basic usage</title> 14 - <para> 15 - A minimal configuration using Let's Encrypt for TLS certificates looks like this: 16 - <programlisting> 1 + <chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-jitsi-meet"> 2 + <title>Jitsi Meet</title> 3 + <para> 4 + With Jitsi Meet on NixOS you can quickly configure a complete, 5 + private, self-hosted video conferencing solution. 6 + </para> 7 + <section xml:id="module-services-jitsi-basic-usage"> 8 + <title>Basic usage</title> 9 + <para> 10 + A minimal configuration using Let's Encrypt for TLS certificates 11 + looks like this: 12 + </para> 13 + <programlisting> 17 14 { 18 15 services.jitsi-meet = { 19 16 enable = true; 20 - hostName = "jitsi.example.com"; 17 + hostName = &quot;jitsi.example.com&quot;; 21 18 }; 22 19 services.jitsi-videobridge.openFirewall = true; 23 20 networking.firewall.allowedTCPPorts = [ 80 443 ]; 24 - security.acme.email = "me@example.com"; 21 + security.acme.email = &quot;me@example.com&quot;; 25 22 security.acme.acceptTerms = true; 26 23 } 27 24 </programlisting> 28 - </para> 29 - </section> 30 - 31 - <section xml:id="module-services-jitsi-configuration"> 32 - <title>Configuration</title> 33 - <para> 34 - Here is the minimal configuration with additional configurations: 35 - <programlisting> 25 + </section> 26 + <section xml:id="module-services-jitsi-configuration"> 27 + <title>Configuration</title> 28 + <para> 29 + Here is the minimal configuration with additional configurations: 30 + </para> 31 + <programlisting> 36 32 { 37 33 services.jitsi-meet = { 38 34 enable = true; 39 - hostName = "jitsi.example.com"; 35 + hostName = &quot;jitsi.example.com&quot;; 40 36 config = { 41 37 enableWelcomePage = false; 42 38 prejoinPageEnabled = true; 43 - defaultLang = "fi"; 39 + defaultLang = &quot;fi&quot;; 44 40 }; 45 41 interfaceConfig = { 46 42 SHOW_JITSI_WATERMARK = false; ··· 49 45 }; 50 46 services.jitsi-videobridge.openFirewall = true; 51 47 networking.firewall.allowedTCPPorts = [ 80 443 ]; 52 - security.acme.email = "me@example.com"; 48 + security.acme.email = &quot;me@example.com&quot;; 53 49 security.acme.acceptTerms = true; 54 50 } 55 51 </programlisting> 56 - </para> 57 - </section> 58 - 52 + </section> 59 53 </chapter>