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

17 lines
517 B
Nix
Raw Permalink Normal View History

2023-11-01 17:55:14 +00:00
{ lib, ... }: {
2023-09-28 09:31:15 +00: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 17:55:14 +00:00
2023-09-28 09:31:15 +00:00
# WiFi speed is slow and crashes by default (https://bugzilla.kernel.org/show_bug.cgi?id=213381)
2023-11-01 17:55:14 +00:00
# Tuning based on iwlwifi reference(https://wiki.archlinux.org/title/Network_configuration/Wireless#iwlwifi)
2023-09-28 09:31:15 +00:00
boot.extraModprobeConfig = ''
2023-11-01 17:55:14 +00:00
options iwlwifi 11n_disable=8
2023-09-28 09:31:15 +00:00
'';
}