Goodbye TLP
This commit is contained in:
parent
dfa40ddfc2
commit
86e362f14d
1 changed files with 6 additions and 18 deletions
|
@ -65,6 +65,12 @@
|
|||
extraArgs = ["-k" "-m all"];
|
||||
};
|
||||
|
||||
powerManagement = {
|
||||
enable = true;
|
||||
cpuFreqGovernor = "schedutil";
|
||||
scsiLinkPolicy = "max_performance";
|
||||
};
|
||||
|
||||
boot.runSize = "100%";
|
||||
boot.devSize = "100%";
|
||||
boot.devShmSize = "100%";
|
||||
|
@ -145,24 +151,6 @@
|
|||
services.xserver.updateDbusEnvironment = true;
|
||||
services.xserver.enableTearFree = true;
|
||||
|
||||
# TLP
|
||||
services.power-profiles-daemon.enable = false; # We disable this because it sucks
|
||||
services.tlp.enable = true;
|
||||
services.tlp.settings = {
|
||||
CPU_DRIVER_OPMODE_ON_AC = "active";
|
||||
CPU_DRIVER_OPMODE_ON_BAT = "active";
|
||||
CPU_SCALING_GOVERNOR_ON_AC = "performance";
|
||||
CPU_SCALING_GOVERNOR_ON_BAT = "schedutil";
|
||||
CPU_BOOST_ON_AC = 1;
|
||||
CPU_BOOST_ON_BAT = 0;
|
||||
PLATFORM_PROFILE_ON_AC = "performance";
|
||||
PLATFORM_PROFILE_ON_BAT = "low-power";
|
||||
DISK_IOSCHED = "kyber";
|
||||
RADEON_DPM_PERF_LEVEL_ON_AC = "high";
|
||||
WIFI_PWR_ON_AC = "off";
|
||||
WIFI_PWR_ON_BAT = "off";
|
||||
};
|
||||
|
||||
security.rtkit.enable = true;
|
||||
|
||||
programs.dconf.enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue