mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-03 16:57:14 +08:00
dell/xps/13-9370: init
This commit is contained in:
committed by
Jörg Thalheim
parent
18a2d7a5e3
commit
86cbb3256b
16
dell/xps/13-9370/default.nix
Normal file
16
dell/xps/13-9370/default.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
../../../common/cpu/intel/kaby-lake
|
||||
../../../common/pc/laptop
|
||||
../../../lenovo/thinkpad/acpi_call.nix
|
||||
../../../lenovo/thinkpad/cpu-throttling-bug.nix
|
||||
];
|
||||
|
||||
# Force S3 sleep mode. See README.wiki for details.
|
||||
boot.kernelParams = [ "mem_sleep_default=deep" ];
|
||||
|
||||
# touchpad goes over i2c
|
||||
boot.blacklistedKernelModules = [ "psmouse" ];
|
||||
}
|
||||
Reference in New Issue
Block a user