mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-01 16:49:40 +01:00
ba8294c0a1
These modules only included gpu configuration, so belong in that location.
20 lines
476 B
Nix
20 lines
476 B
Nix
{ lib, ... }:
|
|
|
|
{
|
|
imports = [
|
|
../../../common/gpu/intel/kaby-lake
|
|
../../../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" ];
|
|
|
|
services.throttled.enable = lib.mkDefault true;
|
|
|
|
# This will save you money and possibly your life!
|
|
services.thermald.enable = true;
|
|
}
|