nixos/jitsi-meet: convert manual chapter to MD

pennae b5990a47 1be48def

Changed files
+73 -32
nixos
modules
+45
nixos/modules/services/web-apps/jitsi-meet.md
···
···
+
# Jitsi Meet {#module-services-jitsi-meet}
+
+
With Jitsi Meet on NixOS you can quickly configure a complete,
+
private, self-hosted video conferencing solution.
+
+
## Basic usage {#module-services-jitsi-basic-usage}
+
+
A minimal configuration using Let's Encrypt for TLS certificates looks like this:
+
```
+
{
+
services.jitsi-meet = {
+
enable = true;
+
hostName = "jitsi.example.com";
+
};
+
services.jitsi-videobridge.openFirewall = true;
+
networking.firewall.allowedTCPPorts = [ 80 443 ];
+
security.acme.email = "me@example.com";
+
security.acme.acceptTerms = true;
+
}
+
```
+
+
## Configuration {#module-services-jitsi-configuration}
+
+
Here is the minimal configuration with additional configurations:
+
```
+
{
+
services.jitsi-meet = {
+
enable = true;
+
hostName = "jitsi.example.com";
+
config = {
+
enableWelcomePage = false;
+
prejoinPageEnabled = true;
+
defaultLang = "fi";
+
};
+
interfaceConfig = {
+
SHOW_JITSI_WATERMARK = false;
+
SHOW_WATERMARK_FOR_GUESTS = false;
+
};
+
};
+
services.jitsi-videobridge.openFirewall = true;
+
networking.firewall.allowedTCPPorts = [ 80 443 ];
+
security.acme.email = "me@example.com";
+
security.acme.acceptTerms = true;
+
}
+
```
+2
nixos/modules/services/web-apps/jitsi-meet.nix
···
};
};
meta.doc = ./jitsi-meet.xml;
meta.maintainers = lib.teams.jitsi.members;
}
···
};
};
+
# Don't edit the docbook xml directly, edit the md and generate it:
+
# `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`
meta.doc = ./jitsi-meet.xml;
meta.maintainers = lib.teams.jitsi.members;
}
+26 -32
nixos/modules/services/web-apps/jitsi-meet.xml
···
-
<chapter xmlns="http://docbook.org/ns/docbook"
-
xmlns:xlink="http://www.w3.org/1999/xlink"
-
xmlns:xi="http://www.w3.org/2001/XInclude"
-
version="5.0"
-
xml:id="module-services-jitsi-meet">
-
<title>Jitsi Meet</title>
-
<para>
-
With Jitsi Meet on NixOS you can quickly configure a complete,
-
private, self-hosted video conferencing solution.
-
</para>
-
-
<section xml:id="module-services-jitsi-basic-usage">
-
<title>Basic usage</title>
-
<para>
-
A minimal configuration using Let's Encrypt for TLS certificates looks like this:
-
<programlisting>
{
services.jitsi-meet = {
enable = true;
-
hostName = "jitsi.example.com";
};
services.jitsi-videobridge.openFirewall = true;
networking.firewall.allowedTCPPorts = [ 80 443 ];
-
security.acme.email = "me@example.com";
security.acme.acceptTerms = true;
}
</programlisting>
-
</para>
-
</section>
-
-
<section xml:id="module-services-jitsi-configuration">
-
<title>Configuration</title>
-
<para>
-
Here is the minimal configuration with additional configurations:
-
<programlisting>
{
services.jitsi-meet = {
enable = true;
-
hostName = "jitsi.example.com";
config = {
enableWelcomePage = false;
prejoinPageEnabled = true;
-
defaultLang = "fi";
};
interfaceConfig = {
SHOW_JITSI_WATERMARK = false;
···
};
services.jitsi-videobridge.openFirewall = true;
networking.firewall.allowedTCPPorts = [ 80 443 ];
-
security.acme.email = "me@example.com";
security.acme.acceptTerms = true;
}
</programlisting>
-
</para>
-
</section>
-
</chapter>
···
+
<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-jitsi-meet">
+
<title>Jitsi Meet</title>
+
<para>
+
With Jitsi Meet on NixOS you can quickly configure a complete,
+
private, self-hosted video conferencing solution.
+
</para>
+
<section xml:id="module-services-jitsi-basic-usage">
+
<title>Basic usage</title>
+
<para>
+
A minimal configuration using Let's Encrypt for TLS certificates
+
looks like this:
+
</para>
+
<programlisting>
{
services.jitsi-meet = {
enable = true;
+
hostName = &quot;jitsi.example.com&quot;;
};
services.jitsi-videobridge.openFirewall = true;
networking.firewall.allowedTCPPorts = [ 80 443 ];
+
security.acme.email = &quot;me@example.com&quot;;
security.acme.acceptTerms = true;
}
</programlisting>
+
</section>
+
<section xml:id="module-services-jitsi-configuration">
+
<title>Configuration</title>
+
<para>
+
Here is the minimal configuration with additional configurations:
+
</para>
+
<programlisting>
{
services.jitsi-meet = {
enable = true;
+
hostName = &quot;jitsi.example.com&quot;;
config = {
enableWelcomePage = false;
prejoinPageEnabled = true;
+
defaultLang = &quot;fi&quot;;
};
interfaceConfig = {
SHOW_JITSI_WATERMARK = false;
···
};
services.jitsi-videobridge.openFirewall = true;
networking.firewall.allowedTCPPorts = [ 80 443 ];
+
security.acme.email = &quot;me@example.com&quot;;
security.acme.acceptTerms = true;
}
</programlisting>
+
</section>
</chapter>