diff options
author | bb2020 <bb2020@users.noreply.github.com> | 2021-06-02 16:02:12 +0300 |
---|---|---|
committer | bb2020 <bb2020@users.noreply.github.com> | 2022-01-18 21:26:52 +0300 |
commit | 6f7bf7bc46de41bce75b1c4c6b684907943d4bb8 (patch) | |
tree | c5763e918ae6bf33294a778eeef29e2108268355 /nixos | |
parent | 222f62ed88f67a1c9a7854b7e95bd9a5fe67b7ca (diff) | |
download | nixlib-6f7bf7bc46de41bce75b1c4c6b684907943d4bb8.tar nixlib-6f7bf7bc46de41bce75b1c4c6b684907943d4bb8.tar.gz nixlib-6f7bf7bc46de41bce75b1c4c6b684907943d4bb8.tar.bz2 nixlib-6f7bf7bc46de41bce75b1c4c6b684907943d4bb8.tar.lz nixlib-6f7bf7bc46de41bce75b1c4c6b684907943d4bb8.tar.xz nixlib-6f7bf7bc46de41bce75b1c4c6b684907943d4bb8.tar.zst nixlib-6f7bf7bc46de41bce75b1c4c6b684907943d4bb8.zip |
nixos/mbpfan: set aggressive default values
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/misc/mbpfan.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/nixos/modules/services/misc/mbpfan.nix b/nixos/modules/services/misc/mbpfan.nix index d80b6fafc2cf..8af531b73d78 100644 --- a/nixos/modules/services/misc/mbpfan.nix +++ b/nixos/modules/services/misc/mbpfan.nix @@ -29,7 +29,7 @@ in { maxFanSpeed = mkOption { type = types.int; - default = 6200; + default = 6199; description = '' The maximum fan speed. ''; @@ -37,7 +37,7 @@ in { lowTemp = mkOption { type = types.int; - default = 63; + default = 55; description = '' The low temperature. ''; @@ -45,7 +45,7 @@ in { highTemp = mkOption { type = types.int; - default = 66; + default = 58; description = '' The high temperature. ''; @@ -61,7 +61,7 @@ in { pollingInterval = mkOption { type = types.int; - default = 7; + default = 1; description = '' The polling interval. ''; @@ -82,8 +82,8 @@ in { environment = { etc."mbpfan.conf".text = '' [general] - min_fan_speed = ${toString cfg.minFanSpeed} - max_fan_speed = ${toString cfg.maxFanSpeed} + min_fan1_speed = ${toString cfg.minFanSpeed} + max_fan1_speed = ${toString cfg.maxFanSpeed} low_temp = ${toString cfg.lowTemp} high_temp = ${toString cfg.highTemp} max_temp = ${toString cfg.maxTemp} |