Merge pull request #12086 from bmorphism/master

thinkfan levels option to control actuation points

Changed files
+17 -7
nixos
modules
services
hardware
+17 -7
nixos/modules/services/hardware/thinkfan.nix
···
sensor ${cfg.sensor} (0, 10, 15, 2, 10, 5, 0, 3, 0, 3)
-
(0, 0, 55)
-
(1, 48, 60)
-
(2, 50, 61)
-
(3, 52, 63)
-
(6, 56, 65)
-
(7, 60, 85)
-
(127, 80, 32767)
'';
in {
···
Sensor used by thinkfan
'';
};
};
···
sensor ${cfg.sensor} (0, 10, 15, 2, 10, 5, 0, 3, 0, 3)
+
${cfg.levels}
'';
in {
···
Sensor used by thinkfan
'';
};
+
+
levels = mkOption {
+
default = ''
+
(0, 0, 55)
+
(1, 48, 60)
+
(2, 50, 61)
+
(3, 52, 63)
+
(6, 56, 65)
+
(7, 60, 85)
+
(127, 80, 32767)
+
'';
+
description =''
+
Sensor used by thinkfan
+
'';
+
};
+
};