activation service tlp

This commit is contained in:
nyanloutre 2018-11-11 11:13:25 +01:00
parent b2e513857c
commit 308de58100
1 changed files with 8 additions and 0 deletions

View File

@ -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;