135 Commits

Author SHA1 Message Date
Jörg Thalheim
b09586b101 Remove insecure broadcom-sta driver from hardware profiles
The broadcom-sta driver package is marked as insecure due to CVE-2019-9501
and CVE-2019-9502 (heap buffer overflow vulnerabilities allowing remote code
execution). The driver is also unmaintained and incompatible with modern
Linux kernel security mitigations.

Removed broadcom_sta from extraModulePackages and the corresponding "wl" kernel module.

This resolves test failures where Nixpkgs refuses to evaluate configurations
containing this insecure package.
2025-10-30 13:04:01 +01:00
pancho horrillo
095a445675 apple/macbook-air/5: init 2025-09-27 07:11:36 +02:00
Michael Hoang
0632a5e10f MacBookAir6,x: fix wireless 2025-09-15 15:19:23 +02:00
Jörg Thalheim
81129e6f19 Merge pull request #1556 from omeyenburg/fix-typo-macbookpro
apple/macbook-pro: Correct typos in 12-1 and 8-1 READMEs
2025-09-01 18:02:18 +00:00
Jörg Thalheim
31b333f6e7 Merge pull request #1585 from 497a/master
Revert "apple: add hid_apple.iso_layout=0 kernel param"
2025-09-01 17:57:58 +00:00
Jörg Thalheim
65b725a43e Merge pull request #1578 from rumlenordstroem/macbookpro11,4
Added macbook pro 11,4 config
2025-09-01 17:50:29 +00:00
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
mkorje
f3444245a7 apple/t2: sync stable patches (6.12.43 -> 6.12.44) 2025-09-01 21:05:51 +10:00
mkorje
9691e6ee8a apple/t2: sync stable patches 2025-08-30 00:52:57 +10:00
Mads Rumle Nordstrøm
59e2d82cc2 ran formatter for mbp11,4 2025-08-29 11:16:31 +02:00
Cassie Cheung
e3e3717d85 apple/t2: kernel 6.15 -> 6.16; sync patches 2025-08-19 20:39:53 +08:00
Mads Rumle Nordstrøm
2d512d0f4e removed s2idle for macbookpro11,4 as default 2025-08-18 13:14:33 +02:00
Mads Rumle Nordstrøm
292aeb6fd6 added macbook pro 11,4 config 2025-08-15 13:16:50 +02:00
omeyemburg
85070738e9 macbook-pro/8-1: remove redundant line in readme 2025-07-27 11:50:21 +02:00
omeyemburg
1f7ed6211f macbook-pro/12-1: remove redundant bracket in readme 2025-07-27 11:49:59 +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