diff --git a/hosts/doloro-laptop/laptop.nix b/hosts/doloro-laptop/laptop.nix index b56d83f..0d3b18e 100644 --- a/hosts/doloro-laptop/laptop.nix +++ b/hosts/doloro-laptop/laptop.nix @@ -1,17 +1,20 @@ { ... }: +let + +in { services.tlp = { enable = true; settings = { - CPU_SCALING_GOVERNOR_ON_BAT = "power_save"; + CPU_SCALING_GOVERNOR_ON_BAT = "laptop-battery-powersave"; CPU_SCALING_GOVERNOR_ON_AC = "performance"; PCIE_ASPM_ON_AC = "performance"; - PCIE_ASPM_ON_BAT = "powersave"; + PCIE_ASPM_ON_BAT = "laptop-battery-powersave"; START_CHARGE_THRESH_BAT0 = 40; # 40 and below it starts to charge STOP_CHARGE_THRESH_BAT0 = 80; # 80 and above it stops charging }; }; - powerManagement.powertop.enable = true; + # services.tuned.enable = true; services.thermald.enable = true; services.upower = { enable = true; @@ -23,5 +26,8 @@ }; # one of "ignore", "poweroff", "reboot", "halt", "kexec", "suspend", "hibernate", "hybrid-sleep", "suspend-then-hibernate", "lock" - powerManagement.enable = true; + powerManagement = { + enable = true; + powertop.enable = true; + }; } diff --git a/modules/kitty/home.nix b/modules/kitty/home.nix index 174f762..e313964 100644 --- a/modules/kitty/home.nix +++ b/modules/kitty/home.nix @@ -23,7 +23,7 @@ in }; settings = { sync_to_monitor = "yes"; - background_opacity = 0.5; + background_opacity = 0.6; cursor_trail = 1; ### Blur is handled in hyprland config ### # enable_background_blur = "true";