use hwmon path

This commit is contained in:
Kopatz
2024-04-29 17:17:39 +02:00
parent 881c66f49a
commit f1ca177e3d

View File

@@ -98,7 +98,8 @@ in
};
"temperature".critical-threshold = 80;
"temperature".format = "{temperatureC}°C ";
"temperature".thermal-zone = 1;
"temperature".interval = 5;
"temperature".hwmon-path = lib.mkIf (osConfig.networking.hostName == "nix-laptop") "/sys/class/hwmon/hwmon8/temp1_input";
"backlight".format = "{percent}% {icon}";
"backlight".states = [0 50];
"backlight".format-icons = ["" ""];