Set PCIE ASPM settings via TLP
This commit is contained in:
parent
5bf5d1ca97
commit
5e43cdc16c
|
@ -13,7 +13,6 @@ with pkgs;
|
||||||
"nohibernate"
|
"nohibernate"
|
||||||
"ipv6.disable=1"
|
"ipv6.disable=1"
|
||||||
"ahci.mobile_lpm_policy=3"
|
"ahci.mobile_lpm_policy=3"
|
||||||
"pcie_aspm=force"
|
|
||||||
"nmi_watchdog=0"
|
"nmi_watchdog=0"
|
||||||
"intel_pstate=disable"
|
"intel_pstate=disable"
|
||||||
];
|
];
|
||||||
|
|
|
@ -2,7 +2,13 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
# Enable the TLP daemon
|
# Enable the TLP daemon
|
||||||
services.tlp.enable = true;
|
services.tlp = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
PCIE_ASPM_ON_AC = "performance";
|
||||||
|
PCIE_ASPM_ON_BAT = "powersupersave";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# Enable the auto-cpufreq daemon
|
# Enable the auto-cpufreq daemon
|
||||||
services.auto-cpufreq.enable = true;
|
services.auto-cpufreq.enable = true;
|
||||||
|
|
Loading…
Reference in New Issue