adding sensor option to thinkfan

This commit is contained in:
Rok Garbas 2013-05-03 03:28:04 +02:00
parent 2415787040
commit f5e720aba8
1 changed files with 8 additions and 1 deletions

View File

@ -41,7 +41,7 @@ let
# 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)
(1, 48, 60)
@ -65,6 +65,13 @@ in {
'';
};
sensor = mkOption {
default = "/proc/acpi/ibm/thermal";
description =''
Sensor used by thinkfan
'';
};
};
};