mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-04 23:13:29 +01:00
feature: enable the iGPU by default
This commit is contained in:
1 parent
5dbebb7cfa
commit
5e6fa0d4ae
1 file changed
+5
@@ -97,5 +97,10 @@ in
|
|||||||
echo "Error: /boot/efi/efi/boot/bootx64.efi is missing" >&2
|
echo "Error: /boot/efi/efi/boot/bootx64.efi is missing" >&2
|
||||||
fi
|
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
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user