nixos-hardware/apple/t2
Cassie Cheung d098b09500 apple/t2: refactor kernel package, add stable kernel
Refactors the kernel package to a generic one and adds support for the
lts kernel. Since nixpkgs' kernel packages provide the `kernelPatches`
override, utilizing that ensures that kernel updates are not delayed
too much due to having to PR them to nixos-hardware separately.

This comes at the expense of possible breakage when upstream updates
something that breaks the patches.

Because the T2 Linux project has a lot of patches which changes
periodically, including them in the repository directly is a maintenance
burden. Instead, this patch comes with an update script and JSON files
containing all of the patches to be downloaded (by fetchurl) and
applied.

The NixOS option to enable changing release versions will be added in
the next commit.
2025-02-24 08:09:11 +00:00
..
pkgs/linux-t2 apple/t2: refactor kernel package, add stable kernel 2025-02-24 08:09:11 +00:00
default.nix apple/t2: refactor kernel package, add stable kernel 2025-02-24 08:09:11 +00:00
README.md apple/t2: update docs to remove old option 2025-02-24 08:09:11 +00: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.

Warning

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