nixos-hardware/dell/xps/15-9510/default.nix

17 lines
517 B
Nix
Raw Normal View History

2023-11-01 13:55:14 -04:00
{ lib, ... }: {
2023-09-28 05:31:15 -04:00
imports = [
../../../common/cpu/intel
../../../common/pc/laptop
../../../common/pc/laptop/ssd
];
# This will save you money and possibly your life!
services.thermald.enable = lib.mkDefault true;
2023-11-01 13:55:14 -04:00
2023-09-28 05:31:15 -04:00
# WiFi speed is slow and crashes by default (https://bugzilla.kernel.org/show_bug.cgi?id=213381)
2023-11-01 13:55:14 -04:00
# Tuning based on iwlwifi reference(https://wiki.archlinux.org/title/Network_configuration/Wireless#iwlwifi)
2023-09-28 05:31:15 -04:00
boot.extraModprobeConfig = ''
2023-11-01 13:55:14 -04:00
options iwlwifi 11n_disable=8
2023-09-28 05:31:15 -04:00
'';
}