Goodbye TLP

This commit is contained in:
xmm16 2024-12-13 00:33:31 -03:00
commit 86e362f14d
No known key found for this signature in database

View file

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