From c3631f4c9d7fc0d880ac7431050418a77429b7db Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Fri, 4 Aug 2023 20:19:27 +0100 Subject: [PATCH] improve grammar of mkEnableOption descriptions --- modules/initramfs.nix | 2 +- modules/ramdisk.nix | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/initramfs.nix b/modules/initramfs.nix index 85ac3ed..d807d28 100644 --- a/modules/initramfs.nix +++ b/modules/initramfs.nix @@ -11,7 +11,7 @@ in { options = { boot.initramfs = { - enable = mkEnableOption "enable initramfs"; + enable = mkEnableOption "initramfs"; }; system.outputs.initramfs = mkOption { type = types.package; diff --git a/modules/ramdisk.nix b/modules/ramdisk.nix index c2052b6..49f425f 100644 --- a/modules/ramdisk.nix +++ b/modules/ramdisk.nix @@ -10,11 +10,11 @@ in { options = { boot = { ramdisk = { - enable = mkEnableOption (lib.mdDoc '' - Configure kernel to enable reserving part of memory as + enable = mkEnableOption '' + reserving part of memory as an MTD-based RAM disk. Needed for TFTP booting or for kexec-based revertable upgrade - ''); + ''; }; }; };