1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-24 10:39:44 +01:00

enable acpi.ec_no_wakeup in Thinkpad T14 AMD Gen 5

This commit is contained in:
Konstanty Kowalewski 2024-12-02 15:48:24 +00:00 committed by Mic92
parent cceee0a31d
commit bad8e79410

View file

@ -6,6 +6,10 @@
../../../../../common/cpu/amd/pstate.nix ../../../../../common/cpu/amd/pstate.nix
]; ];
# Embedded controller wake-ups drain battery in s2idle on this device
# See https://lore.kernel.org/all/ZnFYpWHJ5Ml724Nv@ohnotp/
boot.kernelParams = [ "acpi.ec_no_wakeup=1" ];
# For the Qualcomm NFA765 [17cb:1103] wireless network controller # For the Qualcomm NFA765 [17cb:1103] wireless network controller
# See https://bugzilla.redhat.com/show_bug.cgi?id=2047878 # See https://bugzilla.redhat.com/show_bug.cgi?id=2047878
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.16") pkgs.linuxPackages_latest; boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.16") pkgs.linuxPackages_latest;