1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-26 11:39:44 +01:00
nixos-hardware/dell/xps/13-9370/default.nix
Jörg Thalheim c6c90887f8 drop acpi_call from nixos-hardware
fixes https://github.com/NixOS/nixos-hardware/issues/1114 and tlp also
no longer recommands it.
2024-12-02 12:33:14 +01:00

19 lines
432 B
Nix

{ lib, ... }:
{
imports = [
../../../common/cpu/intel/kaby-lake
../../../common/pc/laptop
];
# 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;
}