mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-14 15:09:41 +01:00
38 lines
662 B
Nix
38 lines
662 B
Nix
|
{
|
||
|
config,
|
||
|
lib,
|
||
|
pkgs,
|
||
|
...
|
||
|
}:
|
||
|
{
|
||
|
imports = [
|
||
|
../.
|
||
|
../../../common/gpu/intel
|
||
|
../../../common/gpu/nvidia
|
||
|
../../../common/hidpi.nix
|
||
|
];
|
||
|
|
||
|
boot = {
|
||
|
initrd.kernelModules = [
|
||
|
"applesmc"
|
||
|
"applespi"
|
||
|
"intel_lpss_pci"
|
||
|
"spi_pxa2xx_platform"
|
||
|
"kvm-intel"
|
||
|
];
|
||
|
blacklistedKernelModules = [
|
||
|
"b43"
|
||
|
"ssb"
|
||
|
"brcmfmac"
|
||
|
"brcmsmac"
|
||
|
"bcma"
|
||
|
];
|
||
|
kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "6.0") pkgs.linuxPackages_latest;
|
||
|
extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
|
||
|
};
|
||
|
|
||
|
hardware = {
|
||
|
bluetooth.enable = lib.mkDefault true;
|
||
|
};
|
||
|
}
|