Commit Graph

121 Commits

Author SHA1 Message Date
Hannah Izzie Gesser
e903fd796d Revert "apple: add hid_apple.iso_layout=0 kernel param"
This reverts commit e228c7827b.
2025-09-01 19:42:22 +02:00
Andre
6038f6ebd2 Merge remote-tracking branch 'upstream/master' into nixfmt 2025-07-01 11:26:06 -04:00
Jörg Thalheim
5e1493ea8e Merge pull request #1517 from soopyc/apple-t2-updates
apple/t2: kernel 6.14 -> 6.15; sync patches
2025-07-01 16:08:39 +02:00
Cassie Cheung
42dedc0579 apple/t2: kernel 6.14 -> 6.15; sync patches 2025-06-25 17:43:58 +08:00
Andre
51e51e6014 chore: format repo using treefmt-nix and nixfmt-rfc-style 2025-06-04 12:35:54 -04:00
Peter Bittner
7d9552ef6b Replace symlink references by real path and delete symlink
The common/pc/laptop/ssd folder was apparently moved a level up and was
replaced by a symlink to keep things working. We can consolidate this now.
2025-05-05 11:17:15 +02: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
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