1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-26 21:09:42 +01:00

Merge pull request #1119 from Jdogzz/master

lenovo-yoga-6-13ALC6: add mkDefault for bluetooth
This commit is contained in:
Jörg Thalheim 2024-09-18 11:05:30 +02:00 committed by GitHub
commit abb448608a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,12 +12,15 @@
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.16") pkgs.linuxPackages_latest;
# 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 = lib.mkDefault true;
}