From 1d41cff3dc4c8f37bb5841f51fcbff705e169178 Mon Sep 17 00:00:00 2001 From: pennae Date: Tue, 30 Aug 2022 14:18:54 +0200 Subject: nixos/*: convert straggler options to MD --- nixos/modules/system/activation/activation-script.nix | 4 ++-- nixos/modules/system/boot/systemd/initrd.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'nixos/modules/system') 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 - NIXOS_ACTION being set to dry-activate. + `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 -- cgit 1.4.1