summaryrefslogtreecommitdiffstats
path: root/nixos
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2021-12-27 17:35:59 +0800
committerGitHub <noreply@github.com>2021-12-27 17:35:59 +0800
commitc2b7c98814e8908e6d86186a746e267b3f9854dd (patch)
tree9b4b9e77730f4fdda976ef47e9df143198daaca0 /nixos
parentf9c03b1ee9862e47cda7ea38f2beb52b32c2fe76 (diff)
parent73050d70fc0c9946fb4cdfa73f89c9c2893117da (diff)
Merge pull request #151678 from kouyk/thinkfan-typo
thinkfan: fix typo in level
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.