1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-13 22:49:41 +01:00

lenovo: fix unstable wifi on Yoga laptops

Add extra modprobe options to fix unstable wifi on Yoga laptops.
This commit is contained in:
Jdogzz 2024-09-03 08:29:13 -07:00 committed by mergify[bot]
parent 95c3dfe6ef
commit 24bc1f98d8

View file

@ -14,5 +14,10 @@
# energy savings # energy savings
boot.kernelParams = ["mem_sleep_default=deep" "pcie_aspm.policy=powersupersave"]; 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; hardware.bluetooth.enable = true;
} }