From 59a171c8332cdb700e8e27f40d0f9c7d73c9cc36 Mon Sep 17 00:00:00 2001 From: Andy Richardson Date: Wed, 9 Jun 2021 12:46:01 +0100 Subject: [PATCH 1/3] Fix 9500 wifi support --- dell/xps/15-9500/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dell/xps/15-9500/default.nix b/dell/xps/15-9500/default.nix index c7beda4..bc41e24 100644 --- a/dell/xps/15-9500/default.nix +++ b/dell/xps/15-9500/default.nix @@ -18,4 +18,11 @@ in # Thermald doesn't have a default config for the 9500 yet, the one in this repo # was generated with dptfxtract-static (https://github.com/intel/dptfxtract) services.thermald.configFile = lib.mkDefault thermald-conf; + + # WiFi speed is slow and crashes by default + # disable_11ax - doesn't actually disable AX but will fix the speed and crashes + # power_save - works well on this card + boot.extraModprobeConfig = '' + options iwlwifi power_save=1 disable_11ax=1 + ''; } From d41711076e6659db6ea608bd556cd925fe830026 Mon Sep 17 00:00:00 2001 From: Andy Richardson Date: Wed, 9 Jun 2021 12:51:33 +0100 Subject: [PATCH 2/3] Update default.nix --- dell/xps/15-9500/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dell/xps/15-9500/default.nix b/dell/xps/15-9500/default.nix index bc41e24..22659ce 100644 --- a/dell/xps/15-9500/default.nix +++ b/dell/xps/15-9500/default.nix @@ -20,7 +20,7 @@ in services.thermald.configFile = lib.mkDefault thermald-conf; # WiFi speed is slow and crashes by default - # disable_11ax - doesn't actually disable AX but will fix the speed and crashes + # 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 From 6392ffbafb6c13a0f5d72759666f4b15ef056e4a Mon Sep 17 00:00:00 2001 From: Andy Richardson Date: Wed, 9 Jun 2021 13:18:05 +0100 Subject: [PATCH 3/3] Update default.nix --- dell/xps/15-9500/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dell/xps/15-9500/default.nix b/dell/xps/15-9500/default.nix index 22659ce..7d346a2 100644 --- a/dell/xps/15-9500/default.nix +++ b/dell/xps/15-9500/default.nix @@ -19,7 +19,7 @@ in # was generated with dptfxtract-static (https://github.com/intel/dptfxtract) services.thermald.configFile = lib.mkDefault thermald-conf; - # WiFi speed is slow and crashes by default + # 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 = ''