1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-01 08:39:41 +01:00
nixos-hardware/dell/xps/15-9510/default.nix

17 lines
517 B
Nix
Raw Normal View History

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