nixos-hardware/dell/xps/13-7390/default.nix

18 lines
419 B
Nix
Raw Normal View History

2019-10-30 19:15:22 +00:00
{ lib, pkgs, ... }:
{
imports = [
../../../common/cpu/intel
../../../common/pc/laptop
../../../common/pc/laptop/ssd
];
boot.kernelParams = [ "mem_sleep_default=deep" ];
2020-06-23 19:11:11 +00:00
# older version break wifi:
# - https://github.com/NixOS/nixos-hardware/issues/173
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.6") pkgs.linuxPackages_latest;
2019-10-30 19:15:22 +00:00
services.thermald.enable = true;
}