1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-12 20:59:46 +01:00
nixos-hardware/dell/xps/13-9380/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

18 lines
438 B
Nix

{
imports = [
../../../common/cpu/intel
../../../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" ];
# Allows for updating firmware via `fwupdmgr`.
services.fwupd.enable = true;
# This will save you money and possibly your life!
services.thermald.enable = true;
}