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

@ -34,16 +34,16 @@ let
in
{
options.services.undervolt = {
enable = mkEnableOption (lib.mdDoc ''
enable = mkEnableOption ''
Undervolting service for Intel CPUs.
Warning: This service is not endorsed by Intel and may permanently damage your hardware. Use at your own risk
'');
'';
verbose = mkOption {
type = types.bool;
default = false;
description = lib.mdDoc ''
description = ''
Whether to enable verbose logging.
'';
};
@ -53,7 +53,7 @@ in
coreOffset = mkOption {
type = types.nullOr types.int;
default = null;
description = lib.mdDoc ''
description = ''
The amount of voltage in mV to offset the CPU cores by.
'';
};
@ -61,7 +61,7 @@ in
gpuOffset = mkOption {
type = types.nullOr types.int;
default = null;
description = lib.mdDoc ''
description = ''
The amount of voltage in mV to offset the GPU by.
'';
};
@ -69,7 +69,7 @@ in
uncoreOffset = mkOption {
type = types.nullOr types.int;
default = null;
description = lib.mdDoc ''
description = ''
The amount of voltage in mV to offset uncore by.
'';
};
@ -77,7 +77,7 @@ in
analogioOffset = mkOption {
type = types.nullOr types.int;
default = null;
description = lib.mdDoc ''
description = ''
The amount of voltage in mV to offset analogio by.
'';
};
@ -85,7 +85,7 @@ in
temp = mkOption {
type = types.nullOr types.int;
default = null;
description = lib.mdDoc ''
description = ''
The temperature target in Celsius degrees.
'';
};
@ -93,7 +93,7 @@ in
tempAc = mkOption {
type = types.nullOr types.int;
default = null;
description = lib.mdDoc ''
description = ''
The temperature target on AC power in Celsius degrees.
'';
};
@ -101,7 +101,7 @@ in
tempBat = mkOption {
type = types.nullOr types.int;
default = null;
description = lib.mdDoc ''
description = ''
The temperature target on battery power in Celsius degrees.
'';
};
@ -109,7 +109,7 @@ in
turbo = mkOption {
type = types.nullOr types.int;
default = null;
description = lib.mdDoc ''
description = ''
Changes the Intel Turbo feature status (1 is disabled and 0 is enabled).
'';
};
@ -117,7 +117,7 @@ in
p1.limit = mkOption {
type = with types; nullOr int;
default = null;
description = lib.mdDoc ''
description = ''
The P1 Power Limit in Watts.
Both limit and window must be set.
'';
@ -125,7 +125,7 @@ in
p1.window = mkOption {
type = with types; nullOr (oneOf [ float int ]);
default = null;
description = lib.mdDoc ''
description = ''
The P1 Time Window in seconds.
Both limit and window must be set.
'';
@ -134,7 +134,7 @@ in
p2.limit = mkOption {
type = with types; nullOr int;
default = null;
description = lib.mdDoc ''
description = ''
The P2 Power Limit in Watts.
Both limit and window must be set.
'';
@ -142,7 +142,7 @@ in
p2.window = mkOption {
type = with types; nullOr (oneOf [ float int ]);
default = null;
description = lib.mdDoc ''
description = ''
The P2 Time Window in seconds.
Both limit and window must be set.
'';
@ -151,7 +151,7 @@ in
useTimer = mkOption {
type = types.bool;
default = false;
description = lib.mdDoc ''
description = ''
Whether to set a timer that applies the undervolt settings every 30s.
This will cause spam in the journal but might be required for some
hardware under specific conditions.