diff options
Diffstat (limited to 'modules/nixos-hardware/dell/xps/13-9380/default.nix')
-rw-r--r-- | modules/nixos-hardware/dell/xps/13-9380/default.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/nixos-hardware/dell/xps/13-9380/default.nix b/modules/nixos-hardware/dell/xps/13-9380/default.nix new file mode 100644 index 000000000000..162cc2618eb1 --- /dev/null +++ b/modules/nixos-hardware/dell/xps/13-9380/default.nix @@ -0,0 +1,18 @@ +{ 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; +} |