mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-08 10:58:37 +08:00
Add config for Dell XPS 15 9520
This commit is contained in:
18
dell/xps/15-9520/default.nix
Normal file
18
dell/xps/15-9520/default.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ lib, ... }:
|
||||
{
|
||||
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;
|
||||
|
||||
# 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
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user