1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-18 15:49:45 +01:00

feature: enable the iGPU by default

This commit is contained in:
Olof Sandell 2023-09-09 01:37:04 +02:00 committed by Jörg Thalheim
parent 5dbebb7cfa
commit 5e6fa0d4ae

View file

@ -97,5 +97,10 @@ in
echo "Error: /boot/efi/efi/boot/bootx64.efi is missing" >&2
fi
'';
# Enable the iGPU by default if present
environment.etc."modprobe.d/apple-gmux.conf".text = lib.optionalString t2Cfg.enableAppleSetOsLoader ''
options apple-gmux force_igd=y
'';
};
}