1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-14 06:59:41 +01:00
nixos-hardware/dell/xps/13-7390/default.nix
2020-06-23 20:12:57 +01:00

17 lines
419 B
Nix

{ lib, pkgs, ... }:
{
imports = [
../../../common/cpu/intel
../../../common/pc/laptop
../../../common/pc/laptop/ssd
];
boot.kernelParams = [ "mem_sleep_default=deep" ];
# 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;
services.thermald.enable = true;
}