mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-27 12:09:45 +01:00
c6c90887f8
fixes https://github.com/NixOS/nixos-hardware/issues/1114 and tlp also no longer recommands it.
19 lines
432 B
Nix
19 lines
432 B
Nix
{ lib, ... }:
|
|
|
|
{
|
|
imports = [
|
|
../../../common/cpu/intel/kaby-lake
|
|
../../../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" ];
|
|
|
|
services.throttled.enable = lib.mkDefault true;
|
|
|
|
# This will save you money and possibly your life!
|
|
services.thermald.enable = true;
|
|
}
|