From 24bc1f98d8db75306bceb82cdb345a1189bc2064 Mon Sep 17 00:00:00 2001 From: Jdogzz Date: Tue, 3 Sep 2024 08:29:13 -0700 Subject: [PATCH] lenovo: fix unstable wifi on Yoga laptops Add extra modprobe options to fix unstable wifi on Yoga laptops. --- lenovo/yoga/6/13ALC6/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lenovo/yoga/6/13ALC6/default.nix b/lenovo/yoga/6/13ALC6/default.nix index 0acf508..a0cf015 100644 --- a/lenovo/yoga/6/13ALC6/default.nix +++ b/lenovo/yoga/6/13ALC6/default.nix @@ -14,5 +14,10 @@ # energy savings boot.kernelParams = ["mem_sleep_default=deep" "pcie_aspm.policy=powersupersave"]; + # Fix for unstable wifi connection on Lenovo laptops + boot.extraModprobeConfig = '' + options rtw89_pci disable_clkreq=y disable_aspm_l1=y disable_aspm_l1ss=y + ''; + hardware.bluetooth.enable = true; }