From c40135076deb53668394a023c0220303c0126007 Mon Sep 17 00:00:00 2001 From: Peter Bittner Date: Mon, 5 May 2025 23:42:16 +0200 Subject: [PATCH] Ensure WiFi works out-of-the-box on XPS13 Inspired by https://github.com/NixOS/nixos-hardware/blob/master/dell/inspiron/3442/default.nix --- dell/xps/13-9343/default.nix | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/dell/xps/13-9343/default.nix b/dell/xps/13-9343/default.nix index 98e0c417..db7012b9 100644 --- a/dell/xps/13-9343/default.nix +++ b/dell/xps/13-9343/default.nix @@ -1,4 +1,4 @@ -{ lib, ... }: +{ config, lib, ... }: { imports = [ @@ -7,6 +7,14 @@ ../../../common/pc/ssd ]; - # This will save you money and possibly your life! - services.thermald.enable = lib.mkDefault true; + services = { + fwupd.enable = lib.mkDefault true; + thermald.enable = lib.mkDefault true; + }; + + boot = { + # needs to be explicitly loaded or else bluetooth/wifi won't work + kernelModules = [ "wl" ]; + extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ]; + }; }