1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-29 04:59:45 +01:00
nixos-hardware/dell/xps/13-9380/default.nix
2019-10-27 09:02:50 +01:00

18 lines
421 B
Nix

{ lib, pkgs, ... }:
{
imports = [
../../../common/cpu/intel
../../../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" ];
# This will save you money and possibly your life!
services.thermald.enable = true;
}