mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-23 03:19:42 +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:
parent
95c3dfe6ef
commit
24bc1f98d8
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue