nixos/manual: regenerate chapter xml files

apparently pandoc has changed behavior over the past releases, so the
files are no longer in sync. occasionally this requires edits
to the markdown source to not remove an anchor that was there
before (albeit wth a very questionable id), or where things were simply
being misrendered due to syntax errors.

pennae dc7788ef 785c0f2a

Changed files
+36 -48
nixos
modules
services
system
boot
loader
+3 -3
nixos/modules/services/monitoring/parsedmarc.xml
···
email address and saves them to a local Elasticsearch instance
looks like this:
</para>
-
<programlisting>
+
<programlisting language="nix">
services.parsedmarc = {
enable = true;
settings.imap = {
···
email address that should be configured in the domain’s dmarc
policy is <literal>dmarc@monitoring.example.com</literal>.
</para>
-
<programlisting>
+
<programlisting language="nix">
services.parsedmarc = {
enable = true;
provision = {
···
Elasticsearch instance is automatically added as a Grafana
datasource, and the dashboard is added to Grafana as well.
</para>
-
<programlisting>
+
<programlisting language="nix">
services.parsedmarc = {
enable = true;
provision = {
+3 -3
nixos/modules/services/networking/mosquitto.xml
···
<para>
A minimal configuration for Mosquitto is
</para>
-
<programlisting language="bash">
+
<programlisting language="nix">
services.mosquitto = {
enable = true;
listeners = [ {
···
restricted write access to a user <literal>service</literal> could
look like
</para>
-
<programlisting language="bash">
+
<programlisting language="nix">
services.mosquitto = {
enable = true;
listeners = [ {
···
TLS authentication is configured by setting TLS-related options of
the listener:
</para>
-
<programlisting language="bash">
+
<programlisting language="nix">
services.mosquitto = {
enable = true;
listeners = [ {
+6 -6
nixos/modules/services/search/meilisearch.md
···
Meilisearch is a lightweight, fast and powerful search engine. Think elastic search with a much smaller footprint.
-
## Quickstart
+
## Quickstart {#module-services-meilisearch-quickstart}
the minimum to start meilisearch is
···
test with `curl -X GET 'http://localhost:7700/health'`
-
## Usage
+
## Usage {#module-services-meilisearch-usage}
you first need to add documents to an index before you can search for documents.
-
### Add a documents to the `movies` index
+
### Add a documents to the `movies` index {#module-services-meilisearch-quickstart-add}
`curl -X POST 'http://127.0.0.1:7700/indexes/movies/documents' --data '[{"id": "123", "title": "Superman"}, {"id": 234, "title": "Batman"}]'`
-
### Search documents in the `movies` index
+
### Search documents in the `movies` index {#module-services-meilisearch-quickstart-search}
`curl 'http://127.0.0.1:7700/indexes/movies/search' --data '{ "q": "botman" }'` (note the typo is intentional and there to demonstrate the typo tolerant capabilities)
-
## Defaults
+
## Defaults {#module-services-meilisearch-defaults}
- The default nixos package doesn't come with the [dashboard](https://docs.meilisearch.com/learn/getting_started/quick_start.html#search), since the dashboard features makes some assets downloads at compile time.
···
- Default deployment is development mode. It doesn't require a secret master key. All routes are not protected and accessible.
-
## Missing
+
## Missing {#module-services-meilisearch-missing}
- the snapshot feature is not yet configurable from the module, it's just a matter of adding the relevant environment variables.
+7 -7
nixos/modules/services/search/meilisearch.xml
···
Meilisearch is a lightweight, fast and powerful search engine. Think
elastic search with a much smaller footprint.
</para>
-
<section xml:id="quickstart">
+
<section xml:id="module-services-meilisearch-quickstart">
<title>Quickstart</title>
<para>
the minimum to start meilisearch is
</para>
-
<programlisting language="bash">
+
<programlisting language="nix">
services.meilisearch.enable = true;
</programlisting>
<para>
···
<literal>curl -X GET 'http://localhost:7700/health'</literal>
</para>
</section>
-
<section xml:id="usage">
+
<section xml:id="module-services-meilisearch-usage">
<title>Usage</title>
<para>
you first need to add documents to an index before you can search
for documents.
</para>
-
<section xml:id="add-a-documents-to-the-movies-index">
+
<section xml:id="module-services-meilisearch-quickstart-add">
<title>Add a documents to the <literal>movies</literal>
index</title>
<para>
<literal>curl -X POST 'http://127.0.0.1:7700/indexes/movies/documents' --data '[{&quot;id&quot;: &quot;123&quot;, &quot;title&quot;: &quot;Superman&quot;}, {&quot;id&quot;: 234, &quot;title&quot;: &quot;Batman&quot;}]'</literal>
</para>
</section>
-
<section xml:id="search-documents-in-the-movies-index">
+
<section xml:id="module-services-meilisearch-quickstart-search">
<title>Search documents in the <literal>movies</literal>
index</title>
<para>
···
</para>
</section>
</section>
-
<section xml:id="defaults">
+
<section xml:id="module-services-meilisearch-defaults">
<title>Defaults</title>
<itemizedlist>
<listitem>
···
</listitem>
</itemizedlist>
</section>
-
<section xml:id="missing">
+
<section xml:id="module-services-meilisearch-missing">
<title>Missing</title>
<itemizedlist spacing="compact">
<listitem>
+1
nixos/modules/services/web-apps/pict-rs.md
···
## Usage {#module-services-pict-rs-usage}
pict-rs offers the following endpoints:
+
- `POST /image` for uploading an image. Uploaded content must be valid multipart/form-data with an
image array located within the `images[]` key
+14 -27
nixos/modules/services/web-apps/pict-rs.xml
···
<para>
the minimum to start pict-rs is
</para>
-
<programlisting language="bash">
+
<programlisting language="nix">
services.pict-rs.enable = true;
</programlisting>
<para>
···
<section xml:id="module-services-pict-rs-usage">
<title>Usage</title>
<para>
-
pict-rs offers the following endpoints: -
-
<literal>POST /image</literal> for uploading an image. Uploaded
-
content must be valid multipart/form-data with an image array
-
located within the <literal>images[]</literal> key
+
pict-rs offers the following endpoints:
</para>
-
<programlisting>
-
This endpoint returns the following JSON structure on success with a 201 Created status
-
```json
-
{
-
&quot;files&quot;: [
-
{
-
&quot;delete_token&quot;: &quot;JFvFhqJA98&quot;,
-
&quot;file&quot;: &quot;lkWZDRvugm.jpg&quot;
-
},
-
{
-
&quot;delete_token&quot;: &quot;kAYy9nk2WK&quot;,
-
&quot;file&quot;: &quot;8qFS0QooAn.jpg&quot;
-
},
-
{
-
&quot;delete_token&quot;: &quot;OxRpM3sf0Y&quot;,
-
&quot;file&quot;: &quot;1hJaYfGE01.jpg&quot;
-
}
-
],
-
&quot;msg&quot;: &quot;ok&quot;
-
}
-
```
-
</programlisting>
<itemizedlist>
+
<listitem>
+
<para>
+
<literal>POST /image</literal> for uploading an image.
+
Uploaded content must be valid multipart/form-data with an
+
image array located within the <literal>images[]</literal> key
+
</para>
+
<para>
+
This endpoint returns the following JSON structure on success
+
with a 201 Created status
+
<literal>json { &quot;files&quot;: [ { &quot;delete_token&quot;: &quot;JFvFhqJA98&quot;, &quot;file&quot;: &quot;lkWZDRvugm.jpg&quot; }, { &quot;delete_token&quot;: &quot;kAYy9nk2WK&quot;, &quot;file&quot;: &quot;8qFS0QooAn.jpg&quot; }, { &quot;delete_token&quot;: &quot;OxRpM3sf0Y&quot;, &quot;file&quot;: &quot;1hJaYfGE01.jpg&quot; } ], &quot;msg&quot;: &quot;ok&quot; }</literal>
+
</para>
+
</listitem>
<listitem>
<para>
<literal>GET /image/download?url=...</literal> Download an
+1 -1
nixos/modules/system/boot/loader/external/external.md
···
}
```
-
## Developing Custom Bootloader Backends
+
## Developing Custom Bootloader Backends {#sec-bootloader-external-developing}
Bootloaders should use [RFC-0125](https://github.com/NixOS/rfcs/pull/125)'s Bootspec format and synthesis tools to identify the key properties for bootable system generations.
+1 -1
nixos/modules/system/boot/loader/external/external.xml
···
};
}
</programlisting>
-
<section xml:id="developing-custom-bootloader-backends">
+
<section xml:id="sec-bootloader-external-developing">
<title>Developing Custom Bootloader Backends</title>
<para>
Bootloaders should use