hwmon path as option

This commit is contained in:
twoneis 2024-06-13 16:13:24 +02:00
parent 57b9da65cb
commit 5650a9c4b7
7 changed files with 16 additions and 3 deletions

View file

@ -40,7 +40,7 @@ in lib.mkIf (osConfig.withNiri) {
format = "{usage}%";
};
"temperature" = {
hwmon-path = "/sys/class/hwmon/hwmon4/temp1_input";
hwmon-path = osConfig.hwmonPath;
format = "{temperatureC}°C ";
interval = 10;
tooltip = false;