0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

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

@ -29,7 +29,7 @@ let
options = {
type = mkOption {
type = types.enum [ "hwmon" "atasmart" "tpacpi" "nvml" ];
description = lib.mdDoc ''
description = ''
The ${name} type, can be
`hwmon` for standard ${name}s,
@ -43,7 +43,7 @@ let
};
query = mkOption {
type = types.str;
description = lib.mdDoc ''
description = ''
The query string used to match one or more ${name}s: can be
a fullpath to the temperature file (single ${name}) or a fullpath
to a driver directory (multiple ${name}s).
@ -57,7 +57,7 @@ let
indices = mkOption {
type = with types; nullOr (listOf ints.unsigned);
default = null;
description = lib.mdDoc ''
description = ''
A list of ${name}s to pick in case multiple ${name}s match the query.
::: {.note}
@ -69,7 +69,7 @@ let
correction = mkOption {
type = with types; nullOr (listOf int);
default = null;
description = lib.mdDoc ''
description = ''
A list of values to be added to the temperature of each sensor,
can be used to equalize small discrepancies in temperature ratings.
'';
@ -106,7 +106,7 @@ in {
enable = mkOption {
type = types.bool;
default = false;
description = lib.mdDoc ''
description = ''
Whether to enable thinkfan, a fan control program.
::: {.note}
@ -120,7 +120,7 @@ in {
smartSupport = mkOption {
type = types.bool;
default = false;
description = lib.mdDoc ''
description = ''
Whether to build thinkfan with S.M.A.R.T. support to read temperatures
directly from hard disks.
'';
@ -133,7 +133,7 @@ in {
query = "/proc/acpi/ibm/thermal";
}
];
description = lib.mdDoc ''
description = ''
List of temperature sensors thinkfan will monitor.
${syntaxNote "thermal"}
@ -147,7 +147,7 @@ in {
query = "/proc/acpi/ibm/fan";
}
];
description = lib.mdDoc ''
description = ''
List of fans thinkfan will control.
${syntaxNote "fan"}
@ -165,7 +165,7 @@ in {
[7 60 85]
["level auto" 80 32767]
];
description = lib.mdDoc ''
description = ''
[LEVEL LOW HIGH]
LEVEL is the fan level to use: it can be an integer (0-7 with thinkpad_acpi),
@ -181,7 +181,7 @@ in {
type = types.listOf types.str;
default = [ ];
example = [ "-b" "0" ];
description = lib.mdDoc ''
description = ''
A list of extra command line arguments to pass to thinkfan.
Check the thinkfan(1) manpage for available arguments.
'';
@ -190,7 +190,7 @@ in {
settings = mkOption {
type = types.attrsOf settingsFormat.type;
default = { };
description = lib.mdDoc ''
description = ''
Thinkfan settings. Use this option to configure thinkfan
settings not exposed in a NixOS option or to bypass one.
Before changing this, read the `thinkfan.conf(5)`