mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-30 06:49:43 +01:00
19 lines
482 B
Nix
19 lines
482 B
Nix
{
|
|
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" ];
|
|
|
|
# Allows for updating firmware via `fwupdmgr`.
|
|
services.fwupd.enable = true;
|
|
|
|
# This will save you money and possibly your life!
|
|
services.thermald.enable = true;
|
|
}
|