2022-12-31 11:52:38 +01:00
|
|
|
{ lib, ... }:
|
2018-10-19 15:45:05 +02:00
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
2024-10-10 19:04:47 +02:00
|
|
|
../../../common/cpu/intel/kaby-lake
|
2018-10-19 15:45:05 +02:00
|
|
|
../../../common/pc/laptop
|
2018-10-19 17:52:25 +02:00
|
|
|
../../../common/pc/laptop/acpi_call.nix
|
2018-10-19 15:45:05 +02: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 12:03:36 +02:00
|
|
|
|
|
|
|
services.throttled.enable = lib.mkDefault true;
|
2019-10-27 09:02:50 +01:00
|
|
|
|
|
|
|
# This will save you money and possibly your life!
|
|
|
|
services.thermald.enable = true;
|
2018-10-19 15:45:05 +02:00
|
|
|
}
|