From 58ae419520968ffe24760f55263c7036af492ed6 Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Mon, 15 Sep 2025 00:15:08 -0500 Subject: [PATCH] idk power stuff --- hosts/lio/configuration.nix | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/hosts/lio/configuration.nix b/hosts/lio/configuration.nix index 98c9408..07eba39 100644 --- a/hosts/lio/configuration.nix +++ b/hosts/lio/configuration.nix @@ -10,9 +10,22 @@ # System76 hardware.system76.enableAll = true; - # https://discourse.nixos.org/t/very-high-fan-noises-on-nixos-using-a-system76-thelio/23875/10 - # Fixes insane jet speed fan noise - services.power-profiles-daemon.enable = false; system.stateVersion = "23.11"; + + services = { + # https://discourse.nixos.org/t/very-high-fan-noises-on-nixos-using-a-system76-thelio/23875/10 + # Fixes insane jet speed fan noise + power-profiles-daemon.enable = false; + tlp = { + enable = true; + # settings = { + # CPU_BOOST_ON_AC = 1; + # CPU_BOOST_ON_BAT = 0; + # CPU_SCALING_GOVERNOR_ON_AC = "performance"; + # CPU_SCALING_GOVERNOR_ON_BAT = "powersave"; + # STOP_CHARGE_THRESH_BAT0 = 95; + # }; + }; + }; }