blob: 06e339fd88b808e0ec64a3ad37298c2dcc0d99f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{ lib, pkgs, ... }:
{
imports = [
../../../common/cpu/intel/kaby-lake
../../../common/pc/laptop
../../../lenovo/thinkpad/acpi_call.nix
../../../lenovo/thinkpad/cpu-throttling-bug.nix
];
# Force S3 sleep mode. See README.wiki for details.
boot.kernelParams = [ "mem_sleep_default=deep" ];
# touchpad goes over i2c
boot.blacklistedKernelModules = [ "psmouse" ];
}
|