mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-27 20:19:45 +01:00
c6c90887f8
fixes https://github.com/NixOS/nixos-hardware/issues/1114 and tlp also no longer recommands it.
18 lines
438 B
Nix
18 lines
438 B
Nix
{
|
|
imports = [
|
|
../../../common/cpu/intel
|
|
../../../common/pc/laptop
|
|
];
|
|
|
|
# Force S3 sleep mode. See README.wiki for details.
|
|
boot.kernelParams = [ "mem_sleep_default=deep" ];
|
|
|
|
# touchpad goes over i2c
|
|
boot.blacklistedKernelModules = [ "psmouse" ];
|
|
|
|
# Allows for updating firmware via `fwupdmgr`.
|
|
services.fwupd.enable = true;
|
|
|
|
# This will save you money and possibly your life!
|
|
services.thermald.enable = true;
|
|
}
|