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:
stuebinm 2024-04-13 14:54:15 +02:00 committed by Jonathan Ringer
parent 1dd996e59a
commit 6afb255d97
1701 changed files with 13694 additions and 13865 deletions

View file

@ -13,10 +13,10 @@ let
mkDisableOption = n: mkOption {
type = types.bool;
default = true;
description = mdDoc "Whether to enable ${n}.";
description = "Whether to enable ${n}.";
};
optionalType = ty: x: mkOption (x // {
description = mdDoc x.description;
description = x.description;
type = (types.nullOr ty);
default = null;
});
@ -26,7 +26,7 @@ let
in {
options = {
services.below = {
enable = mkEnableOption (mdDoc "'below' resource monitor");
enable = mkEnableOption "'below' resource monitor";
cgroupFilterOut = optionalStr {
description = "A regexp matching the full paths of cgroups whose data shouldn't be collected";
@ -34,10 +34,10 @@ in {
};
collect = {
diskStats = mkDisableOption "dist_stat collection";
ioStats = mkEnableOption (mdDoc "io.stat collection for cgroups");
ioStats = mkEnableOption "io.stat collection for cgroups";
exitStats = mkDisableOption "eBPF-based exitstats";
};
compression.enable = mkEnableOption (mdDoc "data compression");
compression.enable = mkEnableOption "data compression";
retention = {
size = optionalInt {
description = ''