mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-04 06:53:30 +01:00
Apple iMac 14,2: init
This commit is contained in:
1 parent
c4e1b82a91
commit
95c3dfe6ef
4 files changed
+101
-1
No files matched your search
@@ -0,0 +1,37 @@
|
||||
{
|
||||
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;
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user