home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit 3654a7cde4762682aa7efed4eb9e1dbfce0e6df1
parent 70e2d53f65888695e83d410674b7e16f2a4da1d2
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Mon,  5 Sep 2022 17:32:06 +0200

systems/hardware: disable tlp and enable lighter alternatives

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Msystems/hardware/thinkpad-x1g9.nix | 2+-
Msystems/modules/hardware/laptop.nix | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/systems/hardware/thinkpad-x1g9.nix b/systems/hardware/thinkpad-x1g9.nix @@ -37,7 +37,7 @@ # throttled.enable = true; # might not be needed tlp = { # FIXME: to disable - enable = true; + enable = false; settings = { # Charge threshold # If the battery is used somewhat frequently, diff --git a/systems/modules/hardware/laptop.nix b/systems/modules/hardware/laptop.nix @@ -39,8 +39,8 @@ in # FIXME to enable # Graphical interface, we can add additionnal packages # Enable setting power-profiles trough DBus - # services.power-profiles-daemon.enable = true; - # services.auto-cpufreq.enable = true; + services.power-profiles-daemon.enable = true; + services.auto-cpufreq.enable = true; }) ]); }