+5
-9
doc/contributing/contributing-to-documentation.chapter.md
···As per [RFC 0072](https://github.com/NixOS/rfcs/pull/72), all new documentation content should be written in [CommonMark](https://commonmark.org/) Markdown dialect.-Additional syntax extensions are available, though not all extensions can be used in NixOS option documentation. The following extensions are currently used:+Additional syntax extensions are available, all of which can be used in NixOS option documentation. The following extensions are currently used:Explicitly defined **anchors** on headings, to allow linking to sections. These should be always used, to ensure the anchors can be linked even when the heading text changes, and to prevent conflicts between [automatically assigned identifiers](https://github.com/jgm/commonmark-hs/blob/master/commonmark-extensions/test/auto_identifiers.md).···**Inline anchors**, which allow linking arbitrary place in the text (e.g. individual list items, sentences…).···This syntax is taken from [MyST](https://myst-parser.readthedocs.io/en/latest/syntax/syntax.html#roles-an-in-line-extension-point). Though, the feature originates from [reStructuredText](https://www.sphinx-doc.org/en/master/usage/restructuredtext/roles.html#role-manpage) with slightly different syntax.···
+9
-6
nixos/doc/manual/default.nix
···
+4
-22
nixos/doc/manual/development/meta-attributes.section.md
······
+5
-24
nixos/doc/manual/from_md/development/meta-attributes.section.xml
······+<link xlink:href="https://nixos.org/manual/nixpkgs/unstable/#sec-contributing-markup">Nixpkgs-flavored
-18
nixos/doc/manual/md-to-db.sh
···
+1
-1
nixos/modules/i18n/input-method/default.nix
-275
nixos/modules/i18n/input-method/default.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-input-methods">
+1
-1
nixos/modules/misc/meta.nix
···
+1
-1
nixos/modules/programs/digitalbitbox/default.nix
-70
nixos/modules/programs/digitalbitbox/default.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-programs-digitalbitbox">-<link xlink:href="https://digitalbitbox.com/start_linux">https://digitalbitbox.com/start_linux</link>.
+1
-1
nixos/modules/programs/plotinus.nix
-30
nixos/modules/programs/plotinus.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-program-plotinus">
+1
-1
nixos/modules/programs/zsh/oh-my-zsh.nix
-154
nixos/modules/programs/zsh/oh-my-zsh.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-programs-zsh-ohmyzsh">-<link xlink:href="https://github.com/robbyrussell/oh-my-zsh/wiki/Customization#overriding-internals"><literal>ZSH_CUSTOM</literal></link>-<link xlink:href="https://nixos.org/nixpkgs/manual/#sec-building-environment"><literal>buildEnv</literal></link>-<link xlink:href="http://zsh.sourceforge.net/Doc/Release/Functions.html"><literal>fpath</literal></link>-<link xlink:href="https://github.com/robbyrussell/oh-my-zsh/tree/91b771914bc7c43dd7c7a43b586c5de2c225ceb7/plugins">upstream
+1
-1
nixos/modules/security/acme/default.nix
-395
nixos/modules/security/acme/default.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-security-acme">-# security.acme.certs."foo.example.com".extraDomainNames = [ "baz.example.com" ];-# /var/lib/acme/.challenges must be writable by the ACME user and readable by the Apache user.-while read x y; do if [ "$x" = "secret" ]; then secret="''${y:1:''${#y}-3}"; fi; done < /var/lib/secrets/dnskeys.conf-<literal>systemctl start acme-example.com.service & journalctl -fu acme-example.com.service</literal>-<link linkend="opt-services.nginx.virtualHosts._name_.enableACME"><literal>enableACME</literal></link>
+1
-1
nixos/modules/services/backup/borgbackup.nix
-215
nixos/modules/services/backup/borgbackup.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-borgbase">-<link xlink:href="https://borgbackup.readthedocs.io/">https://borgbackup.readthedocs.io/</link>-"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID78zmOyA+5uPG4Ot0hfAy+sLDPU1L4AiIoRYEIVbbQ/ root@nixos"-nixos-backupToLocalServer-2020-03-30T21:46:17 Mon, 2020-03-30 21:46:19 [84feb97710954931ca384182f5f3cb90665f35cef214760abd7350fb064786ac]-nixos-backupToLocalServer-2020-03-30T21:46:30 Mon, 2020-03-30 21:46:32 [e77321694ecd160ca2228611747c6ad1be177d6e0d894538898de7a2621b6e68]
+1
-1
nixos/modules/services/databases/foundationdb.nix
-425
nixos/modules/services/databases/foundationdb.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-foundationdb">-<link xlink:href="https://apple.github.io/foundationdb/">https://apple.github.io/foundationdb/</link>-<link xlink:href="https://apple.github.io/foundationdb/">https://apple.github.io/foundationdb/</link>.
+1
-1
nixos/modules/services/databases/postgresql.nix
-250
nixos/modules/services/databases/postgresql.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-postgresql">-<link xlink:href="https://www.postgresql.org/docs/current/pgupgrade.html">https://www.postgresql.org/docs/current/pgupgrade.html</link>-url = "https://github.com/reorg/pg_repack/archive/923fa2f3c709a506e111cc963034bf2fd127aa00.tar.gz";
+1
-1
nixos/modules/services/desktops/flatpak.nix
-59
nixos/modules/services/desktops/flatpak.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-flatpak">-<link xlink:href="https://github.com/flatpak/flatpak/wiki">https://github.com/flatpak/flatpak/wiki</link>
+1
-1
nixos/modules/services/development/blackfire.nix
-61
nixos/modules/services/development/blackfire.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-blackfire">-<link xlink:href="https://blackfire.io/docs/introduction">https://blackfire.io/docs/introduction</link>-# You can also use other options described in https://blackfire.io/docs/up-and-running/configuration/agent-# (WantedBy= from the upstream unit not respected: https://github.com/NixOS/nixpkgs/issues/81138)-<link xlink:href="https://blackfire.io/docs/up-and-running/installation#install-a-profiling-client">the
+1
-1
nixos/modules/services/editors/emacs.nix
-490
nixos/modules/services/editors/emacs.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-emacs">-<link xlink:href="https://www.gnu.org/software/emacs/manual/html_node/emacs/Emacs-Server.html">Emacs-<link xlink:href="https://www.gnu.org/software/emacs/manual/html_node/nxml-mode/Introduction.html">nXML</link>,
+1
-1
nixos/modules/services/hardware/trezord.nix
-29
nixos/modules/services/hardware/trezord.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="trezor">
+1
-1
nixos/modules/services/mail/mailman.nix
-112
nixos/modules/services/mail/mailman.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-mailman">-sslCert = config.security.acme.certs."lists.example.org".directory + "/full.pem";-sslKey = config.security.acme.certs."lists.example.org".directory + "/key.pem";
+1
-1
nixos/modules/services/matrix/mjolnir.nix
-148
nixos/modules/services/matrix/mjolnir.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-mjolnir">-<link xlink:href="https://github.com/matrix-org/mjolnir/blob/main/docs/moderators.md">Moderator’s
+1
-1
nixos/modules/services/matrix/synapse.nix
-263
nixos/modules/services/matrix/synapse.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-matrix">-<link xlink:href="https://matrix-org.github.io/synapse/latest/setup/installation.html">installation-serverConfig."m.server" = "${config.services.matrix-synapse.settings.server_name}:443";-<link xlink:href="https://nixops.readthedocs.io/en/latest/overview.html#managing-keys"><option>deployment.keys</option></link>-<link xlink:href="https://github.com/vector-im/element-web/tree/v1.10.0#important-security-notes">Element
+1
-1
nixos/modules/services/misc/gitlab.nix
-143
nixos/modules/services/misc/gitlab.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-gitlab">-locations."/".proxyPass = "http://unix:/run/gitlab/gitlab-workhorse.socket";
+1
-1
nixos/modules/services/misc/sourcehut/default.nix
-113
nixos/modules/services/misc/sourcehut/default.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-sourcehut">
+1
-1
nixos/modules/services/misc/taskserver/default.nix
-130
nixos/modules/services/misc/taskserver/default.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-taskserver">-<link xlink:href="https://taskwarrior.org/docs/#taskd">https://taskwarrior.org/docs/#taskd</link>-<link linkend="opt-services.taskserver.pki.manual.ca.cert">service.taskserver.pki.manual</link>.*,
+1
-1
nixos/modules/services/misc/weechat.nix
-63
nixos/modules/services/misc/weechat.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-weechat">-<link xlink:href="https://www.freedesktop.org/wiki/Software/systemd/"><literal>systemd</literal></link>-<link xlink:href="https://www.gnu.org/software/screen/manual/html_node/Multiuser.html#Multiuser">multiuser</link>-<link xlink:href="options.html#opt-services.weechat.sessionName">services.weechat.sessionName.</link></emphasis>
+1
-1
nixos/modules/services/monitoring/parsedmarc.nix
-126
nixos/modules/services/monitoring/parsedmarc.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-parsedmarc">-<link xlink:href="options.html#opt-services.parsedmarc.provision.localMail.recipientName">services.parsedmarc.provision.localMail.recipientName</link>.
+1
-1
nixos/modules/services/monitoring/prometheus/exporters.nix
-245
nixos/modules/services/monitoring/prometheus/exporters.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-prometheus-exporters">-targets = [ "localhost:${toString config.services.prometheus.exporters.node.port}" ];-# 'services.prometheus.exporters.nginx.telemetryEndpoint' -> 'services.prometheus.exporters.nginx.telemetryPath'
+1
-1
nixos/modules/services/network-filesystems/litestream/default.nix
-62
nixos/modules/services/network-filesystems/litestream/default.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-litestream">-systemd.services.grafana.serviceConfig.ExecStartPost = "+" + pkgs.writeShellScript "grant-grafana-permissions" ''
+1
-1
nixos/modules/services/networking/firefox-syncserver.nix
-79
nixos/modules/services/networking/firefox-syncserver.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-firefox-syncserver">
+1
-1
nixos/modules/services/networking/mosquitto.nix
-149
nixos/modules/services/networking/mosquitto.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-mosquitto">
+1
-1
nixos/modules/services/networking/pleroma.nix
-244
nixos/modules/services/networking/pleroma.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-pleroma">-<link xlink:href="https://docs-develop.pleroma.social/backend/configuration/cheatsheet/">upstream-$ pleroma_ctl user new <nickname> <email> --admin --moderator --password <password>-add_header 'Access-Control-Allow-Headers' 'Authorization, Content-Type, Idempotency-Key' always;-add_header 'Access-Control-Expose-Headers' 'Link, X-RateLimit-Reset, X-RateLimit-Limit, X-RateLimit-Remaining, X-Request-Id' always;
+1
-1
nixos/modules/services/networking/prosody.nix
-92
nixos/modules/services/networking/prosody.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-prosody">
+1
-1
nixos/modules/services/networking/yggdrasil.nix
-157
nixos/modules/services/networking/yggdrasil.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-networking-yggdrasil">-<link xlink:href="https://yggdrasil-network.github.io/">https://yggdrasil-network.github.io/</link>
+1
-1
nixos/modules/services/search/meilisearch.nix
-87
nixos/modules/services/search/meilisearch.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-meilisearch">-<literal>curl -X POST 'http://127.0.0.1:7700/indexes/movies/documents' --data '[{"id": "123", "title": "Superman"}, {"id": 234, "title": "Batman"}]'</literal>-<literal>curl 'http://127.0.0.1:7700/indexes/movies/search' --data '{ "q": "botman" }'</literal>-<link xlink:href="https://docs.meilisearch.com/learn/getting_started/quick_start.html#search">dashboard</link>,
+1
-1
nixos/modules/services/web-apps/akkoma.nix
-398
nixos/modules/services/web-apps/akkoma.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-akkoma">-<link xlink:href="options.html#opt-services.akkoma.config"><option>services.akkoma.config</option></link>.-<link xlink:href="options.html#opt-services.akkoma.initSecrets"><option>services.akkoma.initSecrets</option></link>.-$ pleroma_ctl user new <nickname> <email> --admin --moderator --password <password>-<link xlink:href="options.html#opt-services.akkoma.frontends"><option>services.akkoma.frontends</option></link>.-<link xlink:href="https://docs.akkoma.dev/stable/configuration/cheatsheet/#mrf_simple"><literal>:mrf_simple</literal></link>-# Adjust these settings according to the database name and upload directory path used by Pleroma-services.akkoma.config.":pleroma"."Pleroma.Repo".database = "pleroma";-services.akkoma.config.":pleroma".":instance".upload_dir = "/var/lib/pleroma/uploads";-<link xlink:href="options.html#opt-systemd.services._name_.confinement.packages"><option>services.systemd.akkoma.confinement.packages</option></link>-<link xlink:href="https://www.freedesktop.org/software/systemd/man/systemd.exec.html#BindPaths="><citerefentry><refentrytitle>systemd.exec</refentrytitle><manvolnum>5</manvolnum></citerefentry></link>-<link xlink:href="options.html#opt-services.akkoma.dist.address"><option>services.akkoma.dist.address</option></link>-<link xlink:href="options.html#opt-services.akkoma.dist.cookie"><option>services.akkoma.dist.cookie</option></link>.
+1
-1
nixos/modules/services/web-apps/discourse.nix
-331
nixos/modules/services/web-apps/discourse.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-discourse">-<link xlink:href="https://github.com/discourse/discourse/blob/master/config/site_settings.yml">config/site_settings.yml</link>.-<link xlink:href="https://github.com/discourse/discourse/blob/stable/config/discourse_defaults.conf">config/discourse.conf</link>.-<link xlink:href="https://github.com/discourse/discourse-spoiler-alert">discourse-spoiler-alert</link>
+1
-1
nixos/modules/services/web-apps/grocy.nix
-84
nixos/modules/services/web-apps/grocy.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-grocy">
+1
-1
nixos/modules/services/web-apps/jitsi-meet.nix
-55
nixos/modules/services/web-apps/jitsi-meet.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-jitsi-meet">
+1
-1
nixos/modules/services/web-apps/keycloak.nix
-177
nixos/modules/services/web-apps/keycloak.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-keycloak">
+1
-1
nixos/modules/services/web-apps/lemmy.nix
-53
nixos/modules/services/web-apps/lemmy.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-lemmy">
+1
-1
nixos/modules/services/web-apps/matomo.nix
-107
nixos/modules/services/web-apps/matomo.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-matomo">-<link xlink:href="https://mariadb.com/kb/en/mariadb/unix_socket-authentication-plugin/">https://mariadb.com/kb/en/mariadb/unix_socket-authentication-plugin/</link>.-<link xlink:href="https://matomo.org/docs/setup-auto-archiving/#disable-browser-triggers-for-matomo-archiving-and-limit-matomo-reports-to-updating-every-hour">disable-<link xlink:href="https://matomo.org/faq/how-to-install/faq_138/">https://matomo.org/faq/how-to-install/faq_138/</link>.-<link linkend="opt-services.phpfpm.pools._name_.socket"><literal>services.phpfpm.pools.<name>.socket</literal></link>
+1
-1
nixos/modules/services/web-apps/nextcloud.nix
-333
nixos/modules/services/web-apps/nextcloud.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-nextcloud">-<link xlink:href="http://php.net/manual/en/reserved.variables.server.php"><literal>$_SERVER['HTTP_HOST']</literal></link>)-<link linkend="opt-services.nextcloud.config.extraTrustedDomains"><literal>services.nextcloud.config.extraTrustedDomains</literal></link>.-<link linkend="opt-services.nextcloud.autoUpdateApps.enable"><literal>services.nextcloud.autoUpdateApps</literal></link>.-<emphasis role="strong"><literal>Error: Command "upgrade" is not defined.</literal></emphasis>-<link xlink:href="https://github.com/NixOS/nixpkgs/issues/111175">NixOS/nixpkgs#111175</link>.-<link xlink:href="https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/encryption_configuration.html">server-side-SetHandler "proxy:unix:${config.services.phpfpm.pools.nextcloud.socket}|fcgi://localhost/"
+1
-1
nixos/modules/services/web-apps/pict-rs.nix
-185
nixos/modules/services/web-apps/pict-rs.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-pict-rs">
+1
-1
nixos/modules/services/web-apps/plausible.nix
-45
nixos/modules/services/web-apps/plausible.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-plausible">
+1
-1
nixos/modules/services/web-servers/garage.nix
-206
nixos/modules/services/web-servers/garage.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-garage">-<link xlink:href="https://garagehq.deuxfleurs.fr/documentation/cookbook/upgrading/">https://garagehq.deuxfleurs.fr/documentation/cookbook/upgrading/</link>
+1
-1
nixos/modules/services/x11/desktop-managers/gnome.nix
-261
nixos/modules/services/x11/desktop-managers/gnome.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="chap-gnome">-<link xlink:href="https://gitlab.gnome.org/GNOME/gnome-build-meta/blob/40.0/elements/core/meta-gnome-core-utilities.bst">gnome-build-meta</link>.-<link xlink:href="https://github.com/NixOS/nixpkgs/blob/b8ec4fd2a4edc4e30d02ba7b1a2cc1358f3db1d5/nixos/modules/services/x11/desktop-managers/gnome.nix#L329-L348">core-<link xlink:href="https://developer.gnome.org/gio/unstable/GSettings.html#id-1.4.19.2.9.25">GSettings-<link xlink:href="https://nix-community.github.io/home-manager/options.html#opt-dconf.settings">module
+1
-1
nixos/modules/services/x11/desktop-managers/pantheon.nix
-171
nixos/modules/services/x11/desktop-managers/pantheon.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="chap-pantheon">
+1
-1
nixos/modules/system/boot/loader/external/external.nix
-43
nixos/modules/system/boot/loader/external/external.xml
···-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="sec-bootloader-external">