Commit Graph
27 Commits
Author SHA1 Message Date
Cassie Cheung 42dedc0579 apple/t2: kernel 6.14 -> 6.15; sync patches 2025-06-25 17:43:58 +08:00
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 05fa89d1c5 apple/t2: migrate renamed option 2025-03-17 15:23:27 +08:00
Cassie Cheung 71ab5581a0 apple/t2: update patches 2025-03-07 05:11:21 +00:00
Cassie Cheung 009b764ac9 apple/t2: update patches for the latest kernel 2025-02-27 14:16:47 +05:30
Cassie Cheung cda8312060 apple/t2: format with nixfmt 2025-02-24 08:09:11 +00:00
Cassie Cheung a0252d668c apple/t2: add option to select kernel release 2025-02-24 08:09:11 +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
Cassie Cheung 04be27ce49 apple/t2: update docs to remove old option
The option was removed in a previous PR but the README was not updated.
Reduce confusion by removing references to the deleted option.
2025-02-24 08:09:11 +00:00
Cassie Cheung 21fa58535d apple/t2: kernel 6.12.4 -> 6.13 2025-02-01 06:18:21 +00:00
Cassie Cheung 95c8efc0cb apple/t2: remove apple_set_os loader option
the functionality of apple_set_os was upstreamed to the kernel a while
ago and the loader is no longer needed.
2025-02-01 06:18:21 +00:00
Cassie Cheung cf737e2eba apple/t2: kernel 6.12.2 -> 6.12.4 2024-12-10 20:07:42 +00:00
Cassie Cheung e563803af3 apple/t2: bump kernel from 6.11.7 to 6.12.2 2024-12-06 10:37:37 +00:00
Cassie Cheung 2297628136 apple/t2: remove tiny-dfr and related options 2024-12-06 10:23:26 +00:00
Cassie Cheung 863e3ca998 apple/t2: bump kernel from 6.11 to 6.11.7 2024-11-12 09:27:21 +00:00
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
Cassie Cheung 912e5b8a00 tuxedo/aura/15-gen1: migrate renamed option 2024-11-06 17:49:51 +00:00
Cassie Cheung 36ed775c1e tests: update flake lock 2024-11-06 17:49:51 +00:00
Cassie Cheung 2e22e4ad70 tests: fix unused importPath in unfreeNixpkgs function
* originally importPath in the unfreeNixpkgs function was not used at all.
  this commit fixes the issue, allowing the function to work as intended.
2024-11-03 00:58:49 +08:00
Cassie Cheung f568ffb601 apple/t2: bump kernel to 6.10.3 2024-08-10 16:29:06 +00:00
Cassie Cheung da0aa7b533 apple/t2: bump kernel to 6.9.8 2024-07-07 17:11:37 +00:00
Cassie Cheung c1cdb2f828 apple/t2: update patches repo ref 2024-07-07 17:11:37 +00:00
Cassie Cheung f75ab8b22c apple/t2: factor out kernel definition for improved readability 2024-07-07 17:11:37 +00:00
Cassie Cheung 35f2177d66 apple/t2: update to kernel 6.9.3
* also updates the patches kernel to include the apfs module
2024-06-10 04:44:27 +00:00
Cassie Cheung d6c6cf6f5f apple/t2: update to kernel 6.9.2 2024-06-05 08:00:23 +00:00
Cassie Cheung b55712de78 apple/t2: update to kernel 6.9 2024-05-18 12:08:09 +00:00