mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-06 07:53:30 +01:00
apple/t2: sort and add missing kernel configs
Signed-off-by: Sophie Cheung <git@soopy.moe>
This commit is contained in:
2 files changed
+20
-5
No files matched your search
@@ -85,7 +85,7 @@ in
|
|||||||
if t2Cfg.kernelChannel == "stable" then ./pkgs/linux-t2 else ./pkgs/linux-t2/latest.nix
|
if t2Cfg.kernelChannel == "stable" then ./pkgs/linux-t2 else ./pkgs/linux-t2/latest.nix
|
||||||
) { }
|
) { }
|
||||||
);
|
);
|
||||||
boot.initrd.kernelModules = [ "apple-bce" ];
|
boot.initrd.kernelModules = [ "t2bce-vhci" ];
|
||||||
|
|
||||||
services.udev.packages = [ audioFilesUdevRules ];
|
services.udev.packages = [ audioFilesUdevRules ];
|
||||||
|
|
||||||
|
|||||||
@@ -33,22 +33,37 @@ buildLinux (
|
|||||||
};
|
};
|
||||||
|
|
||||||
structuredExtraConfig = with lib.kernel; {
|
structuredExtraConfig = with lib.kernel; {
|
||||||
APPLE_BCE = module;
|
T2BCE_CORE = module;
|
||||||
|
T2BCE_VHCI = module;
|
||||||
|
T2BCE_AUDIO = module;
|
||||||
|
T2BCE_AVE = module;
|
||||||
APPLE_GMUX = module;
|
APPLE_GMUX = module;
|
||||||
APFS_FS = module;
|
APFS_FS = module;
|
||||||
BRCMFMAC = module;
|
BRCMFMAC = module;
|
||||||
BT_BCM = module;
|
BT_BCM = module;
|
||||||
BT_HCIBCM4377 = module;
|
BT_HCIBCM4377 = module;
|
||||||
BT_HCIUART_BCM = yes;
|
|
||||||
BT_HCIUART = module;
|
BT_HCIUART = module;
|
||||||
|
BT_HCIUART_BCM = yes;
|
||||||
|
DRM_APPLETBDRM = module;
|
||||||
|
HID_APPLE = module;
|
||||||
HID_APPLETB_BL = module;
|
HID_APPLETB_BL = module;
|
||||||
HID_APPLETB_KBD = module;
|
HID_APPLETB_KBD = module;
|
||||||
HID_APPLE = module;
|
|
||||||
HID_MAGICMOUSE = module;
|
HID_MAGICMOUSE = module;
|
||||||
DRM_APPLETBDRM = module;
|
|
||||||
HID_SENSOR_ALS = module;
|
HID_SENSOR_ALS = module;
|
||||||
|
SENSORS_APPLESMC = module;
|
||||||
SND_PCM = module;
|
SND_PCM = module;
|
||||||
STAGING = yes;
|
STAGING = yes;
|
||||||
|
|
||||||
|
# required for t2bce_ave
|
||||||
|
I2C = yes;
|
||||||
|
MEDIA_SUPPORT = yes;
|
||||||
|
MEDIA_CAMERA_SUPPORT = yes;
|
||||||
|
MEDIA_ANALOG_TV_SUPPORT = yes;
|
||||||
|
MEDIA_DIGITAL_TV_SUPPORT = yes;
|
||||||
|
MEDIA_RADIO_SUPPORT = yes;
|
||||||
|
MEDIA_SDR_SUPPORT = yes;
|
||||||
|
MEDIA_PLATFORM_SUPPORT = yes;
|
||||||
|
MEDIA_TEST_SUPPORT = yes;
|
||||||
};
|
};
|
||||||
|
|
||||||
kernelPatches = [
|
kernelPatches = [
|
||||||
|
|||||||
Reference in new issue
Block a user