adding sensor option to thinkfan
This commit is contained in:
parent
2415787040
commit
f5e720aba8
|
@ -41,7 +41,7 @@ let
|
||||||
# All numbers are integers.
|
# All numbers are integers.
|
||||||
#
|
#
|
||||||
|
|
||||||
sensor /proc/acpi/ibm/thermal (0, 10, 15, 2, 10, 5, 0, 3, 0, 3)
|
sensor ${cfg.sensor} (0, 10, 15, 2, 10, 5, 0, 3, 0, 3)
|
||||||
|
|
||||||
(0, 0, 55)
|
(0, 0, 55)
|
||||||
(1, 48, 60)
|
(1, 48, 60)
|
||||||
|
@ -65,6 +65,13 @@ in {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sensor = mkOption {
|
||||||
|
default = "/proc/acpi/ibm/thermal";
|
||||||
|
description =''
|
||||||
|
Sensor used by thinkfan
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue