52 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
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
Mads Rumle Nordstrøm
59e2d82cc2 ran formatter for mbp11,4 2025-08-29 11:16:31 +02: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
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
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
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
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
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
Jörg Thalheim
a70fa1ac5b Merge branch 'master' into master 2024-07-19 19:50:48 +02: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
Michael Paepcke
c6b440dcd6 apple/macbook-pro/14-1/README.md: use markdown checkboxes 2024-06-30 08:14:43 +00: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
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
Jörg Thalheim
03c6d15152 treewide: apply deadnix and statix 2022-12-31 11:57:44 +01:00
Zane van Iperen
ba12233257 apple/macbook-pro/14-1: fix service script paths
Doesn't require Nix to keep around the entire nixos-hardware repo.
2022-10-22 17:37:58 +10:00
Zane van Iperen
99ed0bc663 apple/macbook-pro: add support for 14,1
Extracted from my system configs. There's still a few issues with this
machine:

1. Audio is a lost cause. Will probably need to bribe an Apple or Cirrus
   engineer for the datasheet.
2. The thunderbolt module will oops upon system resume, and subsequently
   refuse to work until next reboot.
3. The d3cold state needs to be disabled on the NVME controller for it
   to wake up.
4. The Bluetooth UART (/dev/ttyS0) is created and then deleted by udev
   in early boot. I am yet to figure out why. Hack around it by
   reloading the 8250_dw module, causing it to be re-created.
2022-10-21 00:29:37 +10:00
Rehno Lindeque
33642d338f apple/macbook-pro/11-5: add a note about switching between integrated and discrete graphics 2022-09-07 17:10:58 +00:00
Rehno Lindeque
a4345da27e apple/macbook-pro/11-5: driver choice should be optional since si_support is experimental 2022-09-07 16:53:00 +00:00
Rehno Lindeque
821ddbaf1c apple/macbook-pro/11-5: make enableRedistributableFirmware an optional default (uniformity with other configs) 2022-09-07 15:41:28 +00:00
Rehno Lindeque
1d10001701 apple/macbook-pro/11-5: Links to hardware probes 2022-09-07 15:37:40 +00:00
Rehno Lindeque
a930f43803 apple/macbook-pro/11-5: document amdgpu driver choice 2022-09-07 15:36:38 +00:00
Rehno Lindeque
c38ec64187 apple/macbook-pro/11-5: Use the newer amdgpu driver 2022-09-07 15:32:33 +00:00
Rehno Lindeque
a318b2ebfa apple/macbook-pro/11-5: explicitly turn on redistributable firmware 2022-09-06 18:49:29 +00:00
Jörg Thalheim
d2d9a58a5c remove systemd-boot from hardware profiles (#307)
- We should not enable canTouchEfiVariables by default as this
  wears out the EFI storage.
- We should not set systemd-boot as default. This is up to the user to
  decide. There are exceptions when hardware only supports specific
  bootloaders so.
2021-08-21 09:22:25 +01:00
Doro Rose
52060c81af apple/macbook-pro/12-1/default.nix: Fixed impure <nixpkgs> import. 2021-05-11 10:31:41 +02:00
Ivan Kovnatsky
b371da6e8d apple/macbook-pro/12-1: brcmfmac: mention resume issue 2020-12-01 14:42:01 +02:00
Ivan Kovnatsky
34c1bf11bb apple/macbook-pro/12-1: PM: set cpuFreqGovernor and power Up/Down commands (#214)
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2020-12-01 08:57:29 +00:00
Rehno Lindeque
a9f65b8896 apple/macbook-pro/11-5: Remove boot loader
Since the boot loader is already automatically generated by
nixos-generate-config, there is no need to include it here.
2018-07-30 17:55:13 -04:00
Rehno Lindeque
694fd85397 apple/macbookpro/11-5: Prevent intermittent xhci wakeup after suspend 2018-07-30 17:55:13 -04:00
Rehno Lindeque
e31b175128 apple/macbook-pro/11-5: Change README to markdown
.wiki is just plain distracting to edit, markdown allows me to quickly write
up accompanying docs.
2018-07-30 17:55:13 -04:00
Rehno Lindeque
ec4c3da289 apple/macbook-pro/11-5: Additional wiki resources
As suggested by issue #41.
2018-07-30 17:55:13 -04:00
Rehno Lindeque
93d292b830 apple/macbook-pro/11-5: init 2018-07-30 17:55:13 -04:00
Yegor Timoshenko
d1d99eb158 treewide: mark things that have to be done 2017-12-25 22:07:47 +00:00
Yegor Timoshenko
5407ba7a52 treewide: abstract away common configs into common/ 2017-12-24 23:21:05 +00:00
Yegor Timoshenko
f31e4afea5 apple/macbook-pro/10-1: elaborate more on NVidia driver 2017-12-24 14:19:38 +00:00
Yegor Timoshenko
63b3836fcf apple: use global apple profile (for mbpfan) 2017-12-24 12:17:37 +00:00
Yegor Timoshenko
cbe052c49e apple/macbook-pro/12-1: clean up 2017-12-24 12:16:10 +00:00