nixos: remove all uses of lib.mdDoc
these changes were generated with nixq 0.0.2, by running nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix two mentions of the mdDoc function remain in nixos/, both of which are inside of comments. Since lib.mdDoc is already defined as just id, this commit is a no-op as far as Nix (and the built manual) is concerned.
This commit is contained in:
committed by
Jonathan Ringer
parent
1dd996e59a
commit
6afb255d97
@@ -5,7 +5,7 @@ let
|
||||
cfg = config.services.lvm;
|
||||
in {
|
||||
options.services.lvm = {
|
||||
enable = mkEnableOption (lib.mdDoc "lvm2") // {
|
||||
enable = mkEnableOption "lvm2" // {
|
||||
default = true;
|
||||
};
|
||||
|
||||
@@ -14,19 +14,19 @@ in {
|
||||
default = pkgs.lvm2;
|
||||
internal = true;
|
||||
defaultText = literalExpression "pkgs.lvm2";
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
This option allows you to override the LVM package that's used on the system
|
||||
(udev rules, tmpfiles, systemd services).
|
||||
Defaults to pkgs.lvm2, pkgs.lvm2_dmeventd if dmeventd or pkgs.lvm2_vdo if vdo is enabled.
|
||||
'';
|
||||
};
|
||||
dmeventd.enable = mkEnableOption (lib.mdDoc "the LVM dmevent daemon");
|
||||
boot.thin.enable = mkEnableOption (lib.mdDoc "support for booting from ThinLVs");
|
||||
boot.vdo.enable = mkEnableOption (lib.mdDoc "support for booting from VDOLVs");
|
||||
dmeventd.enable = mkEnableOption "the LVM dmevent daemon";
|
||||
boot.thin.enable = mkEnableOption "support for booting from ThinLVs";
|
||||
boot.vdo.enable = mkEnableOption "support for booting from VDOLVs";
|
||||
};
|
||||
|
||||
options.boot.initrd.services.lvm.enable = mkEnableOption (lib.mdDoc "booting from LVM2 in the initrd") // {
|
||||
description = lib.mdDoc ''
|
||||
options.boot.initrd.services.lvm.enable = mkEnableOption "booting from LVM2 in the initrd" // {
|
||||
description = ''
|
||||
*This will only be used when systemd is used in stage 1.*
|
||||
|
||||
Whether to enable booting from LVM2 in the initrd.
|
||||
|
||||
Reference in New Issue
Block a user