Commit graph

111 commits

Author SHA1 Message Date
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
Jörg Thalheim c6c90887f8 drop acpi_call from nixos-hardware
fixes https://github.com/NixOS/nixos-hardware/issues/1114 and tlp also
no longer recommands it.
2024-12-02 12:33:14 +01: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
Jörg Thalheim 12ad8c1bf1 apple/macbook-pro/11-1: add comment why we include broadcom driver 2024-11-06 06:21:21 +00:00
Johannes Arnold 7a9364e705 apple: init MacBookPro11,1 2024-11-06 06:21:21 +00:00
Tau da14839ac5 remove broadcom_sta since it was likely already added by nixos-generate-hardware 2024-10-31 09:53:19 +00:00
Bit Borealis 8cf35efba1 macbook air 7 2024-10-31 09:53:19 +00:00
Sergey Yelin 64d900abe4
Unload brcmfmac_wcc (if loaded) before brcmfmac (#1200)
Module brcmfmac cannot be unloaded with rmmod when brcmfmac_wcc is loaded.
This leads brcmfmac to crash on wake up.

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2024-10-23 15:42:09 +02:00
Gavin John 7495e87753 treewide: Switch from gpu/intel to cpu/intel where applicable 2024-10-21 09:00:57 +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
Rayan Nakib (ريان نقيب) 502e0aed31 apple-macbook-pro-8-1: add README.md
explaning to users how they can enable installtion of free packages
needed for b43-firmware to work
2024-09-07 13:23:33 +00:00
Rayan Nakib (ريان نقيب) 1b3a547126 Treewide: Add new profile for Apple MacBook Pro 8,1
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2024-09-07 13:23:33 +00:00
Lyndon Sanche 561fe843e1
apple-macbook-pro-10-1: Add nvidia architecture 2024-09-04 11:38:04 -06:00
Lyndon Sanche 2aa46f02e2
apple-imac-14-2: Add nvidia architecture 2024-09-04 11:37:51 -06:00
Pol Dellaiera 95c3dfe6ef Apple iMac 14,2: init 2024-08-28 20:49:03 +00:00
Jörg Thalheim a3efd46620 apple/imac/18-2: fix gpu import path 2024-08-19 10:39:18 +02:00
Cassie Cheung f568ffb601 apple/t2: bump kernel to 6.10.3 2024-08-10 16:29:06 +00:00
Jörg Thalheim a70fa1ac5b
Merge branch 'master' into master 2024-07-19 19:50:48 +02:00
Michael Paepcke 37d3f20674
Update README.md
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2024-07-15 19:35:43 +00:00
Michael Paepcke ea9f6719b1
Update README.md
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2024-07-15 19:35:33 +00:00
Michael Paepcke 6187754bdd
Update README.md
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2024-07-15 19:35:23 +00:00
Lyndon Sanche ba8294c0a1 common: Move Intel generation-specific config from cpu to gpu
These modules only included gpu configuration, so belong in that
location.
2024-07-09 09:05:35 +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
Michael Paepcke c6b440dcd6
apple/macbook-pro/14-1/README.md: use markdown checkboxes 2024-06-30 08:14:43 +00:00
Jörg Thalheim d403b7f6ae
apple/imac/18-2/README.md: use markdown checkboxes 2024-06-30 09:29:16 +02:00
Paepcke, Michael 40e296b2b3
apple-imac-18-2: add imac, add imac-18-2 2024-06-28 22:38:31 +02:00
Paepcke, Michael d3ef6d0c7c
apple-macbookpro-14-1: update info, simplify and fix config 2024-06-28 20:05:46 +02:00
Paepcke, Michael c3e48cbd88 update macbookpro14,1 to 24.01 (2024) 2024-06-23 12:27:44 +00:00
mergify[bot] 4325ebb800
Merge branch 'master' into remove-dri 2024-06-21 22:01:40 +00:00
Jörg Thalheim 63e77982fc
Merge pull request #998 from zachcoyle/t2-linux-6.9.4
apple/t2: update to kernel 6.9.4
2024-06-22 00:01:32 +02:00
Jörg Thalheim 584a5e5518 fix 24.05 evaluation 2024-06-21 23:50:11 +02:00
toastal cc634b69c8 remove driSupport, opengl → graphics 2024-06-21 16:38:07 +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