From 6f7bf7bc46de41bce75b1c4c6b684907943d4bb8 Mon Sep 17 00:00:00 2001 From: bb2020 Date: Wed, 2 Jun 2021 16:02:12 +0300 Subject: [PATCH] nixos/mbpfan: set aggressive default values --- nixos/modules/services/misc/mbpfan.nix | 12 ++++++------ 1 file 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}