about summary refs log tree commit diff
path: root/nixos/modules/services/monitoring/ups.nix
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2022-08-29 21:48:56 +0200
committerpennae <github@quasiparticle.net>2022-08-31 16:32:14 +0200
commit1013069f52123135cc1d96b2b7d77606a22d3b33 (patch)
treef985c37e7b051d769aefbaf179bbd5bcbb7e507d /nixos/modules/services/monitoring/ups.nix
parent7d102d113abd84dd29bed71cd589f1c68a7f7f3d (diff)
nixos/*: convert more partially-md option descriptions
this mostly means marking options that use markdown already
appropriately and making a few adjustments so they still render
correctly. notable for nftables we have to transform the md links
because the manpage would not render them correctly otherwise.
Diffstat (limited to 'nixos/modules/services/monitoring/ups.nix')
-rw-r--r--nixos/modules/services/monitoring/ups.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/monitoring/ups.nix b/nixos/modules/services/monitoring/ups.nix
index 8af2c2a1f253b..c7abaeb2973ee 100644
--- a/nixos/modules/services/monitoring/ups.nix
+++ b/nixos/modules/services/monitoring/ups.nix
@@ -116,7 +116,7 @@ in
       mode = mkOption {
         default = "standalone";
         type = types.str;
-        description = ''
+        description = lib.mdDoc ''
           The MODE determines which part of the NUT is to be started, and
           which configuration files must be modified.