Commit Graph

4 Commits

Author SHA1 Message Date
Cassie Cheung
32cd434259 apple/t2: sync patches
also made the update script use threading for speed
2025-03-26 15:29:11 +08:00
Cassie Cheung
e8c83f0759 apple/t2: sync patches
this includes a new touchpad driver which was tested and should feel
smoother. users may need to re-set touchpad settings in their DE.
2025-03-17 13:01:27 +00:00
Cassie Cheung
71ab5581a0 apple/t2: update patches 2025-03-07 05:11:21 +00:00
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