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
1 changed files with 5 additions and 0 deletions

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
'';
};
}