diff --git a/modules/hm/waybar.nix b/modules/hm/waybar.nix index ac969d7..b90e04f 100644 --- a/modules/hm/waybar.nix +++ b/modules/hm/waybar.nix @@ -1,6 +1,7 @@ { pkgs, nixosConfig, ... }: with nixosConfig.nix-rice.lib; let + inherit (nixosConfig.networking) hostName; inherit (nixosConfig.nix-rice.rice) colorPalette font; alpha = 0.9; custom = palette.toRGBHex { @@ -112,7 +113,9 @@ in "critical-threshold" = 90; "format" = "{temperatureC}°C {icon}"; "format-icons" = [ "" ]; - }; + } // (if hostName == "sif" then { + "hwmon-path" = "/sys/class/hwmon/hwmon7/temp1_input"; + } else { }); "backlight" = { # "device"= "acpi_video1"; "format" = "{percent}% {icon}";