about summary refs log tree commit diff
path: root/nixos/modules/system
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2022-08-15 07:16:25 +0200
committerpennae <82953136+pennae@users.noreply.github.com>2022-08-19 22:40:58 +0200
commit6039648c50c7c0858b5e506c6298773a98e0f066 (patch)
tree5421b3c36609e710c85b43d92dc3b830f6a1385b /nixos/modules/system
parent7e7d68a250f75678451cd44f8c3d585bf750461e (diff)
downloadnixlib-6039648c50c7c0858b5e506c6298773a98e0f066.tar
nixlib-6039648c50c7c0858b5e506c6298773a98e0f066.tar.gz
nixlib-6039648c50c7c0858b5e506c6298773a98e0f066.tar.bz2
nixlib-6039648c50c7c0858b5e506c6298773a98e0f066.tar.lz
nixlib-6039648c50c7c0858b5e506c6298773a98e0f066.tar.xz
nixlib-6039648c50c7c0858b5e506c6298773a98e0f066.tar.zst
nixlib-6039648c50c7c0858b5e506c6298773a98e0f066.zip
nixos/*: automatically convert option docs
Diffstat (limited to 'nixos/modules/system')
-rw-r--r--nixos/modules/system/boot/luksroot.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/system/boot/luksroot.nix b/nixos/modules/system/boot/luksroot.nix
index 899f7df51e45..8cd16974916c 100644
--- a/nixos/modules/system/boot/luksroot.nix
+++ b/nixos/modules/system/boot/luksroot.nix
@@ -532,14 +532,14 @@ in
     boot.initrd.luks.reusePassphrases = mkOption {
       type = types.bool;
       default = true;
-      description = ''
+      description = lib.mdDoc ''
         When opening a new LUKS device try reusing last successful
         passphrase.
 
         Useful for mounting a number of devices that use the same
         passphrase without retyping it several times.
 
-        Such setup can be useful if you use <command>cryptsetup luksSuspend</command>.
+        Such setup can be useful if you use {command}`cryptsetup luksSuspend`.
         Different LUKS devices will still have
         different master keys even when using the same passphrase.
       '';