forked from nyanloutre/nixos-config
activation service tlp
This commit is contained in:
parent
b2e513857c
commit
308de58100
@ -21,6 +21,14 @@
|
|||||||
boot.tmpOnTmpfs = true;
|
boot.tmpOnTmpfs = true;
|
||||||
boot.plymouth.enable = 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
|
# NVIDIA
|
||||||
services.xserver.videoDrivers = [ "nvidia" ];
|
services.xserver.videoDrivers = [ "nvidia" ];
|
||||||
hardware.nvidia.optimus_prime.enable = true;
|
hardware.nvidia.optimus_prime.enable = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user