nixos-hardware/dell/xps/13-9370/default.nix

21 lines
476 B
Nix
Raw Normal View History

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