diff options
Diffstat (limited to 'nixpkgs/nixos/modules/services/hardware/thinkfan.nix')
-rw-r--r-- | nixpkgs/nixos/modules/services/hardware/thinkfan.nix | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/nixpkgs/nixos/modules/services/hardware/thinkfan.nix b/nixpkgs/nixos/modules/services/hardware/thinkfan.nix index b62fb5e9f8c9..37c9fef03d78 100644 --- a/nixpkgs/nixos/modules/services/hardware/thinkfan.nix +++ b/nixpkgs/nixos/modules/services/hardware/thinkfan.nix @@ -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)` |