update flake set waybar thermal zone

This commit is contained in:
2026-06-15 17:34:26 +02:00
parent 484999059a
commit 7905ca167e
3 changed files with 30 additions and 27 deletions

View File

@ -1,4 +1,4 @@
{ ... }:
{ lib, ... }:
{
programs.waybar.enable = true;
@ -134,8 +134,8 @@
};
temperature = {
thermal-zone = 0;
critical-threshold = 80;
thermal-zone = lib.mkDefault 0;
critical-threshold = lib.mkDefault 80;
interval = 5;
format =" {icon} {temperatureC}°C ";
format-icons = ["" "" "" "" ""];

View File

@ -1,6 +1,8 @@
{ ... }:
{ lib, pkgs, config, ... }:
{
programs.waybar.settings.mainBar.temperature.thermal-zone = 2;
wayland.windowManager.hyprland.settings = {
monitor = [
"DP-2, 1920x1080@60Hz, -1920x0, auto"
@ -19,6 +21,7 @@
"LIBVA_DRIVER_NAME,nvidia"
"__GLX_VENDOR_LIBRARY_NAME,nvidia"
];
cursor.no_hardware_cursors = true;
misc.vrr = 1;
};