From b115622f4bbf9f1af8f7c94a85a6bd17e8c8d10e Mon Sep 17 00:00:00 2001 From: pennae Date: Tue, 19 Jul 2022 15:05:45 +0200 Subject: [PATCH] nixos/tasks: invariant option docs MD conversions --- nixos/modules/tasks/encrypted-devices.nix | 14 ++++++------- nixos/modules/tasks/snapraid.nix | 24 +++++++++++------------ nixos/modules/tasks/swraid.nix | 2 +- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/nixos/modules/tasks/encrypted-devices.nix b/nixos/modules/tasks/encrypted-devices.nix index 06117d19af46..7837a34b4984 100644 --- a/nixos/modules/tasks/encrypted-devices.nix +++ b/nixos/modules/tasks/encrypted-devices.nix @@ -16,33 +16,33 @@ let enable = mkOption { default = false; type = types.bool; - description = "The block device is backed by an encrypted one, adds this device as a initrd luks entry."; + description = lib.mdDoc "The block device is backed by an encrypted one, adds this device as a initrd luks entry."; }; blkDev = mkOption { default = null; example = "/dev/sda1"; type = types.nullOr types.str; - description = "Location of the backing encrypted device."; + description = lib.mdDoc "Location of the backing encrypted device."; }; label = mkOption { default = null; example = "rootfs"; type = types.nullOr types.str; - description = "Label of the unlocked encrypted device. Set fileSystems.<name?>.device to /dev/mapper/<label> to mount the unlocked device."; + description = lib.mdDoc "Label of the unlocked encrypted device. Set `fileSystems..device` to `/dev/mapper/