mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-26 21:09:42 +01:00
Merge pull request #463 from NixOS/t14s-amd-deep-sleep
tinkpad t14s amd: enable deep sleep
This commit is contained in:
commit
6686829e31
1 changed files with 3 additions and 0 deletions
|
@ -10,4 +10,7 @@
|
||||||
|
|
||||||
# For mainline support of rtw89 wireless networking
|
# For mainline support of rtw89 wireless networking
|
||||||
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;
|
||||||
|
|
||||||
|
# Enable energy savings during sleep
|
||||||
|
boot.kernelParams = ["mem_sleep_default=deep"];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue