Apple iMac 14,2: init

This commit is contained in:
Pol Dellaiera authored and mergify[bot] committed 2024-08-28 20:49:03 +00:00
1 parent c4e1b82a91
commit 95c3dfe6ef
4 files changed
+101 -1

No files matched your search

+37
View File
@@ -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;
};
}