diff --git a/configuration.nix b/configuration.nix index 49ec818..778ef02 100644 --- a/configuration.nix +++ b/configuration.nix @@ -13,7 +13,6 @@ with pkgs; "nohibernate" "ipv6.disable=1" "ahci.mobile_lpm_policy=3" - "pcie_aspm=force" "nmi_watchdog=0" "intel_pstate=disable" ]; diff --git a/modules/power.nix b/modules/power.nix index c700ced..f7b3d9d 100644 --- a/modules/power.nix +++ b/modules/power.nix @@ -2,7 +2,13 @@ { # 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 services.auto-cpufreq.enable = true;