2018-10-19 13:45:05 +00:00
|
|
|
{ lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
../../../common/cpu/intel/kaby-lake
|
|
|
|
../../../common/pc/laptop
|
2018-10-19 15:52:25 +00:00
|
|
|
../../../common/pc/laptop/acpi_call.nix
|
2018-10-19 13:45:05 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# Force S3 sleep mode. See README.wiki for details.
|
|
|
|
boot.kernelParams = [ "mem_sleep_default=deep" ];
|
|
|
|
|
|
|
|
# touchpad goes over i2c
|
|
|
|
boot.blacklistedKernelModules = [ "psmouse" ];
|
2019-07-19 10:03:36 +00:00
|
|
|
|
|
|
|
services.throttled.enable = lib.mkDefault true;
|
2019-10-27 08:02:50 +00:00
|
|
|
|
|
|
|
# This will save you money and possibly your life!
|
|
|
|
services.thermald.enable = true;
|
2018-10-19 13:45:05 +00:00
|
|
|
}
|