summaryrefslogtreecommitdiffstats
path: root/nixos
diff options
context:
space:
mode:
authorSteven Kou <skykinetic@stevenkou.xyz>2021-12-22 03:21:09 +0800
committerSteven Kou <skykinetic@stevenkou.xyz>2021-12-22 04:00:19 +0800
commit73050d70fc0c9946fb4cdfa73f89c9c2893117da (patch)
tree15534be598ce8f05eca345b667e4887ad5d08265 /nixos
parentc478eaf416411a7dedf773185b6d5bfc966a80ae (diff)
thinkfan: fix typo in level
One of the valid values for the fan speed is "level disengaged", however, it is represented as "level disengage" and does not match what thinkfan expects.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/hardware/thinkfan.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/hardware/thinkfan.nix b/nixos/modules/services/hardware/thinkfan.nix
index 7a5a7e1c41ce..4ea829e496e8 100644
--- a/nixos/modules/services/hardware/thinkfan.nix
+++ b/nixos/modules/services/hardware/thinkfan.nix
@@ -19,7 +19,7 @@ let
description = "tuple of" + concatMapStrings (t: " (${t.description})") ts;
};
level = ints.unsigned;
- special = enum [ "level auto" "level full-speed" "level disengage" ];
+ special = enum [ "level auto" "level full-speed" "level disengaged" ];
in
tuple [ (either level special) level level ];
@@ -164,7 +164,7 @@ in {
LEVEL is the fan level to use: it can be an integer (0-7 with thinkpad_acpi),
"level auto" (to keep the default firmware behavior), "level full-speed" or
- "level disengage" (to run the fan as fast as possible).
+ "level disengaged" (to run the fan as fast as possible).
LOW is the temperature at which to step down to the previous level.
HIGH is the temperature at which to step up to the next level.
All numbers are integers.