summary refs log tree commit diff
path: root/nixos/modules/services/hardware/udev.nix
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2022-08-29 01:38:36 +0200
committerpennae <github@quasiparticle.net>2022-08-31 16:32:54 +0200
commit9547123258f69efd92b54763051d6dc7f3bfcaca (patch)
tree87d42b10b0f436c50e8aa04c00c27d289c61c4e2 /nixos/modules/services/hardware/udev.nix
parentef176dcf7e76c3639571d7c6051246c8fbadf12a (diff)
downloadnixpkgs-9547123258f69efd92b54763051d6dc7f3bfcaca.tar
nixpkgs-9547123258f69efd92b54763051d6dc7f3bfcaca.tar.gz
nixpkgs-9547123258f69efd92b54763051d6dc7f3bfcaca.tar.bz2
nixpkgs-9547123258f69efd92b54763051d6dc7f3bfcaca.tar.lz
nixpkgs-9547123258f69efd92b54763051d6dc7f3bfcaca.tar.xz
nixpkgs-9547123258f69efd92b54763051d6dc7f3bfcaca.tar.zst
nixpkgs-9547123258f69efd92b54763051d6dc7f3bfcaca.zip
nixos/*: convert internal option descriptions to MD
we'll have to do it eventually, may as well be now.
Diffstat (limited to 'nixos/modules/services/hardware/udev.nix')
-rw-r--r--nixos/modules/services/hardware/udev.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/nixos/modules/services/hardware/udev.nix b/nixos/modules/services/hardware/udev.nix
index 0b24a3f98c9..fa9d06b441a 100644
--- a/nixos/modules/services/hardware/udev.nix
+++ b/nixos/modules/services/hardware/udev.nix
@@ -300,13 +300,13 @@ in
         type = types.listOf types.path;
         default = [];
         visible = false;
-        description = ''
-          <emphasis>This will only be used when systemd is used in stage 1.</emphasis>
+        description = lib.mdDoc ''
+          *This will only be used when systemd is used in stage 1.*
 
-          List of packages containing <command>udev</command> rules that will be copied to stage 1.
+          List of packages containing {command}`udev` rules that will be copied to stage 1.
           All files found in
-          <filename>«pkg»/etc/udev/rules.d</filename> and
-          <filename>«pkg»/lib/udev/rules.d</filename>
+          {file}`«pkg»/etc/udev/rules.d` and
+          {file}`«pkg»/lib/udev/rules.d`
           will be included.
         '';
       };
@@ -315,8 +315,8 @@ in
         type = types.listOf types.path;
         default = [];
         visible = false;
-        description = ''
-          <emphasis>This will only be used when systemd is used in stage 1.</emphasis>
+        description = lib.mdDoc ''
+          *This will only be used when systemd is used in stage 1.*
 
           Packages to search for binaries that are referenced by the udev rules in stage 1.
           This list always contains /bin of the initrd.