mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 01:37:24 +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
|
# 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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user