From 308de581004a3cf8f381bd34e205495e26f41f69 Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Sun, 11 Nov 2018 11:13:25 +0100 Subject: [PATCH] activation service tlp --- systems/ASUS-G46VW/configuration.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/systems/ASUS-G46VW/configuration.nix b/systems/ASUS-G46VW/configuration.nix index afee803..4dba9dc 100644 --- a/systems/ASUS-G46VW/configuration.nix +++ b/systems/ASUS-G46VW/configuration.nix @@ -21,6 +21,14 @@ boot.tmpOnTmpfs = true; boot.plymouth.enable = true; + services.tlp.enable = true; + services.tlp.extraConfig = '' + START_CHARGE_THRESH_BAT0=85 + STOP_CHARGE_THRESH_BAT0=90 + CPU_SCALING_GOVERNOR_ON_BAT=powersave + ENERGY_PERF_POLICY_ON_BAT=powersave + ''; + # NVIDIA services.xserver.videoDrivers = [ "nvidia" ]; hardware.nvidia.optimus_prime.enable = true;