hwmon path as option
This commit is contained in:
parent
57b9da65cb
commit
5650a9c4b7
7 changed files with 16 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue