1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-22 17:49:44 +01:00
nixos-hardware/dell/xps/13-9370/default.nix
2022-12-31 11:57:44 +01:00

20 lines
476 B
Nix

{ lib, ... }:
{
imports = [
../../../common/cpu/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;
}