about summary refs log tree commit diff
path: root/nixos/modules/system
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2022-08-30 14:18:54 +0200
committerpennae <github@quasiparticle.net>2022-08-31 17:27:38 +0200
commit1d41cff3dc4c8f37bb5841f51fcbff705e169178 (patch)
tree333442286eac74633ee79693b341575d448cb10a /nixos/modules/system
parente04a09082e33d444c245e1d5859b37ace25f54a9 (diff)
downloadnixlib-1d41cff3dc4c8f37bb5841f51fcbff705e169178.tar
nixlib-1d41cff3dc4c8f37bb5841f51fcbff705e169178.tar.gz
nixlib-1d41cff3dc4c8f37bb5841f51fcbff705e169178.tar.bz2
nixlib-1d41cff3dc4c8f37bb5841f51fcbff705e169178.tar.lz
nixlib-1d41cff3dc4c8f37bb5841f51fcbff705e169178.tar.xz
nixlib-1d41cff3dc4c8f37bb5841f51fcbff705e169178.tar.zst
nixlib-1d41cff3dc4c8f37bb5841f51fcbff705e169178.zip
nixos/*: convert straggler options to MD
Diffstat (limited to 'nixos/modules/system')
-rw-r--r--nixos/modules/system/activation/activation-script.nix4
-rw-r--r--nixos/modules/system/boot/systemd/initrd.nix4
2 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/system/activation/activation-script.nix b/nixos/modules/system/activation/activation-script.nix
index f2c5775eeafc..ddb165a76cc8 100644
--- a/nixos/modules/system/activation/activation-script.nix
+++ b/nixos/modules/system/activation/activation-script.nix
@@ -88,11 +88,11 @@ let
         supportsDryActivation = mkOption
           { type = types.bool;
             default = false;
-            description = ''
+            description = lib.mdDoc ''
               Whether this activation script supports being dry-activated.
               These activation scripts will also be executed on dry-activate
               activations with the environment variable
-              <literal>NIXOS_ACTION</literal> being set to <literal>dry-activate</literal>.
+              `NIXOS_ACTION` being set to `dry-activate`.
               it's important that these activation scripts  don't
               modify anything about the system when the variable is set.
             '';
diff --git a/nixos/modules/system/boot/systemd/initrd.nix b/nixos/modules/system/boot/systemd/initrd.nix
index 6b4e6834c7bf..e843214f8552 100644
--- a/nixos/modules/system/boot/systemd/initrd.nix
+++ b/nixos/modules/system/boot/systemd/initrd.nix
@@ -132,8 +132,8 @@ let
 
 in {
   options.boot.initrd.systemd = {
-    enable = mkEnableOption "systemd in initrd" // {
-      description = ''
+    enable = mkEnableOption (lib.mdDoc "systemd in initrd") // {
+      description = lib.mdDoc ''
         Whether to enable systemd in initrd.
 
         Note: This is in very early development and is highly