From 5e6fa0d4ae6e8e3d2bdba3798911fc001d85f7cc Mon Sep 17 00:00:00 2001 From: Olof Sandell <83674246+osandell@users.noreply.github.com> Date: Sat, 9 Sep 2023 01:37:04 +0200 Subject: [PATCH] feature: enable the iGPU by default --- apple/t2/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apple/t2/default.nix b/apple/t2/default.nix index e386ce3..739b194 100644 --- a/apple/t2/default.nix +++ b/apple/t2/default.nix @@ -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 + ''; }; }