1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-03 08:19:43 +01:00
nixos-hardware/apple/t2
Cassie Cheung e1cc1f6483 apple/t2: deprecate enableTinyDfr option and conflict with hardware.apple.touchBar
* Adds a deprecation warning to hardware.apple-t2.enableTinyDfr as it has
  been upstreamed to nixpkgs already. The package and option can be
  removed at the next release cycle to hopefully not break people's setup.

* Adds an assertion to conflict hardware.apple-t2.enableTinyDfr with
  hardware.apple.touchBar. Having both enabled causes both tiny-dfr to
  fight for the same display device.
2024-11-06 18:57:38 +00:00
..
pkgs apple/t2: bump kernel to 6.11 2024-09-18 23:54:32 -04:00
default.nix apple/t2: deprecate enableTinyDfr option and conflict with hardware.apple.touchBar 2024-11-06 18:57:38 +00:00
README.md refactor: use nixpkgs naming conventions 2023-09-13 09:46:20 +02:00

NixOS on T2 Macs

This is the nixos-hardware module of the T2 Linux Project.

Overall, most features (WiFi, bluetooth, audio, touchbar, ...) of Macs are supported, see this page for a detailed list of things that work and things that don't/partially work.

Following this guide is the recommended way to install, as it incudes the extra things you have to do on a T2 Mac.

You can consult the wiki for information specific to T2 Macs.

Unlocking Internal iGPU

The apple-set-os-loader-installer module serves as an installer for the apple-set-os-loader. This tool is designed to unlock the internal integrated GPU (iGPU) on certain MacBooks. See https://wiki.t2linux.org/guides/hybrid-graphics/ for more details.

What it Does:

Upon activation, this module performs the following:

  • Renames the existing BOOTX64.EFI file to bootx64_original.efi.
  • Installs the apple-set-os-loader hook in its place as bootx64.efi.
  • Before the system boots the hook unlocks the iGPU and subsequently calls the original bootx64_original.efi.
  • Enables the iGPU by default.

How to Implement:

  1. Add this into your configuration.nix:
hardware.apple-t2.enableAppleSetOsLoader = true;
  1. Rebuild your system:
sudo nixos-rebuild switch

Note

: Always ensure compatibility and make backups of your data before making any system changes.