mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 17:38:41 +08:00
lenovo: fix unstable wifi on Yoga laptops
Add extra modprobe options to fix unstable wifi on Yoga laptops.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user