diff --git a/modules/device.nix b/modules/device.nix index 5f500d9..0037cc7 100644 --- a/modules/device.nix +++ b/modules/device.nix @@ -24,8 +24,9 @@ with pkgs; '') ]; boot.extraModprobeConfig = '' - options snd-hda-intel patch=hda-jack-retask.fw + options snd-hda-intel patch=hda-jack-retask.fw power_save=1 options mac80211 beacon_loss_count=500 + options iwlwifi power_save=1 ''; } diff --git a/modules/power.nix b/modules/power.nix index 177e3ca..b6cdce1 100644 --- a/modules/power.nix +++ b/modules/power.nix @@ -5,10 +5,10 @@ services.tlp = { enable = true; settings = { - CPU_SCALING_MIN_FREQ_ON_AC = 800000; - CPU_SCALING_MAX_FREQ_ON_AC = 3000000; - CPU_SCALING_MIN_FREQ_ON_BAT = 800000; - CPU_SCALING_MAX_FREQ_ON_BAT = 2000000; + CPU_MIN_PERF_ON_AC = 0; + CPU_MAX_PERF_ON_AC = 100; + CPU_MIN_PERF_ON_BAT = 0; + CPU_MAX_PERF_ON_BAT = 50; }; };