Commit Graph

43 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
mkorje
36d0027ef4 apple/t2: add Wi-Fi and Bluetooth firmware option 2025-03-17 13:01:30 +00: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
Reid "reidlab
6f71da566f apple/t2: add tiny-dfr option 2024-10-12 10:16:28 +00:00
Zach Coyle
1c8c4f2c79 apple/t2: bump kernel to 6.11 2024-09-18 23:54:32 -04:00
Ali Rizvi
32f4fb0b11 apple-t2: remove ifd and cleanup drv 2024-09-15 13:22:44 -04: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
Zach Coyle
68ef79e804 apple/t2: update to kernel 6.9.4 2024-06-20 17:37:43 -04: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
Marcus Wågberg
7e3a3f3170 apple/t2: add tiny-dfr service 2024-04-27 06:39:03 +00:00
Marcus Wågberg
17ad09c30c apple/t2: update to kernel 6.7.7 2024-04-27 06:39:03 +00:00
Jörg Thalheim
a15b6e525f apple-t2: avoid import-from-derivation 2023-12-25 22:57:21 +00:00
Olof Sandell
e158702cb8 refactor: use nixpkgs naming conventions 2023-09-13 09:46:20 +02:00
Olof Sandell
c49c1210d6 docs: add info about the default enabling 2023-09-13 09:46:20 +02:00
Olof Sandell
5e6fa0d4ae feature: enable the iGPU by default 2023-09-13 09:46:20 +02:00
Olof Sandell
5dbebb7cfa feat: copy bootloader to temp location
This is a precaution to make sure we have enough disk space before renaming original bootloader.
2023-09-13 09:46:20 +02:00
Olof Sandell
c8cd4f7ef4 feat: integrate into t2 module 2023-09-13 09:46:20 +02:00
Olof Sandell
bb215e68e5 feat: add installer for apple-set-os-loader-installer 2023-09-13 09:46:20 +02:00
networkException
6f081cd52a apple/t2: update to kernel 6.5 2023-09-03 07:10:17 +02:00
networkException
33052d5cad apple/t2: update to kernel 6.4.9 2023-08-12 21:22:09 +01:00
networkException
258b9faff0 apple/t2: update to kernel 6.4.8 2023-08-04 21:09:00 +01:00
networkException
4259025da1 apple/t2: update to kernel 6.4.2 2023-07-08 16:39:40 +02:00
kekrby
8e28b9ee43 apple/t2: init
Co-authored-by: networkException <git@nwex.de>
2023-06-28 00:04:56 +02:00