2019-02-08 17:20:06 +01:00
|
|
|
{
|
|
|
|
imports = [
|
2019-07-01 11:15:35 +02:00
|
|
|
../../../common/cpu/intel
|
2019-02-08 17:20:06 +01:00
|
|
|
../../../common/pc/laptop
|
|
|
|
../../../common/pc/laptop/acpi_call.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
# Force S3 sleep mode. See README.wiki for details.
|
|
|
|
boot.kernelParams = [ "mem_sleep_default=deep" ];
|
|
|
|
|
|
|
|
# touchpad goes over i2c
|
|
|
|
boot.blacklistedKernelModules = [ "psmouse" ];
|
2019-10-27 09:02:50 +01:00
|
|
|
|
2024-08-23 18:17:51 +02:00
|
|
|
# Allows for updating firmware via `fwupdmgr`.
|
|
|
|
services.fwupd.enable = true;
|
|
|
|
|
2019-10-27 09:02:50 +01:00
|
|
|
# This will save you money and possibly your life!
|
|
|
|
services.thermald.enable = true;
|
2019-02-08 17:20:06 +01:00
|
|
|
}
|