summaryrefslogtreecommitdiffstats
path: root/nixos/modules/services/admin
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2022-08-29 23:34:22 +0200
committerpennae <github@quasiparticle.net>2022-08-31 16:32:53 +0200
commitc915b915b5e466a0b0b2af2906cd4d2380b8a1de (patch)
tree9e153e37bef5bb5e4214dfcaa3843a96de7cf4d4 /nixos/modules/services/admin
parent1013069f52123135cc1d96b2b7d77606a22d3b33 (diff)
nixos/*: md-convert options with unordered lists
mostly no rendering changes. some lists (like simplelist) don't have an exact translation to markdown, so we use a comma-separated list of literals instead.
Diffstat (limited to 'nixos/modules/services/admin')
-rw-r--r--nixos/modules/services/admin/meshcentral.nix12
1 files changed, 5 insertions, 7 deletions
diff --git a/nixos/modules/services/admin/meshcentral.nix b/nixos/modules/services/admin/meshcentral.nix
index e1df39716d47..7553f4922c90 100644
--- a/nixos/modules/services/admin/meshcentral.nix
+++ b/nixos/modules/services/admin/meshcentral.nix
@@ -13,15 +13,13 @@ in with lib; {
defaultText = literalExpression "pkgs.meshcentral";
};
settings = mkOption {
- description = ''
+ description = lib.mdDoc ''
Settings for MeshCentral. Refer to upstream documentation for details:
- <itemizedlist>
- <listitem><para><link xlink:href="https://github.com/Ylianst/MeshCentral/blob/master/meshcentral-config-schema.json">JSON Schema definition</link></para></listitem>
- <listitem><para><link xlink:href="https://github.com/Ylianst/MeshCentral/blob/master/sample-config.json">simple sample configuration</link></para></listitem>
- <listitem><para><link xlink:href="https://github.com/Ylianst/MeshCentral/blob/master/sample-config-advanced.json">complex sample configuration</link></para></listitem>
- <listitem><para><link xlink:href="https://www.meshcommander.com/meshcentral2">Old homepage) with documentation link</link></para></listitem>
- </itemizedlist>
+ - [JSON Schema definition](https://github.com/Ylianst/MeshCentral/blob/master/meshcentral-config-schema.json)
+ - [simple sample configuration](https://github.com/Ylianst/MeshCentral/blob/master/sample-config.json)
+ - [complex sample configuration](https://github.com/Ylianst/MeshCentral/blob/master/sample-config-advanced.json)
+ - [Old homepage with documentation link](https://www.meshcommander.com/meshcentral2)
'';
type = types.submodule {
freeformType = configFormat.type;