mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-07 02:18:47 +08:00
Ensure WiFi works out-of-the-box on XPS13
Inspired by https://github.com/NixOS/nixos-hardware/blob/master/dell/inspiron/3442/default.nix
This commit is contained in:
committed by
mergify[bot]
parent
2ea3ad8a1f
commit
c40135076d
@@ -1,4 +1,4 @@
|
|||||||
{ lib, ... }:
|
{ config, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
@@ -7,6 +7,14 @@
|
|||||||
../../../common/pc/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
# This will save you money and possibly your life!
|
services = {
|
||||||
services.thermald.enable = lib.mkDefault true;
|
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 ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user