2024-08-26 13:09:14 +02:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
../.
|
|
|
|
../../../common/gpu/intel
|
|
|
|
../../../common/gpu/nvidia
|
2024-09-04 19:37:51 +02:00
|
|
|
../../../common/gpu/nvidia/kepler
|
2024-08-26 13:09:14 +02:00
|
|
|
../../../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;
|
|
|
|
};
|
|
|
|
}
|