1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-30 06:49:43 +01:00
nixos-hardware/dell/xps/15-9520/default.nix

20 lines
563 B
Nix
Raw Normal View History

2023-04-29 12:18:48 +02:00
{ lib, ... }:
{
imports = [
../../../common/cpu/intel
../../../common/gpu/intel/alder-lake
2023-04-29 12:18:48 +02:00
../../../common/pc/laptop
../../../common/pc/laptop/ssd
];
# This will save you money and possibly your life!
services.thermald.enable = lib.mkDefault true;
2023-04-29 12:18:48 +02:00
# WiFi speed is slow and crashes by default (https://bugzilla.kernel.org/show_bug.cgi?id=213381)
# disable_11ax - required until ax driver support is fixed
# power_save - works well on this card
boot.extraModprobeConfig = ''
options iwlwifi power_save=1 disable_11ax=1
'';
}