From 07e97a593be32b9c8224346babfcacedc7486698 Mon Sep 17 00:00:00 2001 From: coolneng Date: Sat, 4 Feb 2023 16:10:05 +0100 Subject: [PATCH] Tweak the power saving settings --- modules/power.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/power.nix b/modules/power.nix index 7010375..82349ff 100644 --- a/modules/power.nix +++ b/modules/power.nix @@ -7,6 +7,7 @@ settings = { PCIE_ASPM_ON_AC = "performance"; PCIE_ASPM_ON_BAT = "powersave"; + USB_AUTOSUSPEND = 1; }; }; @@ -55,7 +56,7 @@ boot.extraModprobeConfig = '' options snd-hda-intel patch=hda-jack-retask.fw power_save=1 options mac80211 beacon_loss_count=500 - options iwlwifi power_save=1 uapsd_disable=0 + options iwlwifi power_save=1 options iwlmvm power_scheme=3 options i915 enable_dc=4 enable_fbc=1 enable_psr=1 enable_psr2_sel_fetch=1 disable_power_well=1 '';