Commit graph

135 commits

Author SHA1 Message Date
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
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
Pol Dellaiera f58b25254b macmini4: init 2024-04-12 08:19:19 +00:00
Jörg Thalheim a15b6e525f apple-t2: avoid import-from-derivation 2023-12-25 22:57:21 +00:00
Jörg Thalheim b7747f0f60 remove unused variables with deadnix 2023-12-25 20:25:23 +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
bors[bot] 47dca15d86
Merge #630 #649 #650 #652 #654 #656 #657
630: starfive visionfive2: update kernel to 6.4.0 r=Mic92 a=NickCao



649: macbook-air-6: remove mba6x_bl kernel module r=Mic92 a=DanielSiepmann



650: apple/t2: init r=Mic92 a=networkException



652: build(deps): bump cachix/install-nix-action from 21 to 22 r=Mic92 a=dependabot[bot]



654: fixing iptsd not able to find DEVICE r=Mic92 a=buttergrillcorn



656: treewide: avoid alias usage for intel-vaapi-driver based on nixos version r=Mic92 a=lilyinstarlight



657: Added more blocked Nvidia kernel modules to fix the dGPU not being disabled r=Mic92 a=spacebanana420



Co-authored-by: Nick Cao <nickcao@nichi.co>
Co-authored-by: Daniel Siepmann <coding@daniel-siepmann.de>
Co-authored-by: kekrby <kekrby@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: buttergrillcorn <126628446+buttergrillcorn@users.noreply.github.com>
Co-authored-by: Lily Foster <lily@lily.flowers>
Co-authored-by: Space Banana <tomasbessa@protonmail.com>
2023-07-08 06:38:34 +00:00
kekrby 8e28b9ee43
apple/t2: init
Co-authored-by: networkException <git@nwex.de>
2023-06-28 00:04:56 +02:00
Daniel Siepmann 2d54ea30cf
macbook-air-6: remove mba6x_bl kernel module
This does not compile against 6.x Kernel.
This is also no longer necessary for 6.x Kernel.
One can use "acpi_video0" device instead of "mba6x_backlight" device.
2023-06-13 16:54:30 +02: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
Ivan Kovnatsky 6a0f1a9e84
macbook: add README.md to describe switching Cmd and Alt/AltGr 2020-11-03 10:19:25 +02:00
sevenfourk d2ac7fb650
macbook: added option for swapped cmd and opt
https://wiki.archlinux.org/index.php/Apple_Keyboard#Switching_Cmd_and_Alt/AltGr
2020-10-31 12:06:55 +02:00
ilian adecd1113c apple: Add support for MacBook Air 3,X (#91) 2019-11-12 10:36:10 +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 8a352e39b5
apple/macbook-air/6: resolve tearing 2018-01-07 17:26:37 +00:00
Yegor Timoshenko b65efccd54
apple/macbook-air/6: add acpi_osi= kernel param 2017-12-27 22:09:57 +00:00
Yegor Timoshenko 19c0c04f61
apple/macbook-air/4: enable RC6p, RC6pp GPU sleep states 2017-12-27 21:39:31 +00:00
Yegor Timoshenko d1d99eb158
treewide: mark things that have to be done 2017-12-25 22:07:47 +00:00
Yegor Timoshenko 2227f2c67a
apple/macbook-air/4: resolve tearing 2017-12-25 04:55:29 +00:00
Yegor Timoshenko 88bd1266a7
apple/macbook-air/4: add 2017-12-25 04:32:30 +00:00
Yegor Timoshenko e228c7827b
apple: add hid_apple.iso_layout=0 kernel param
In my experience, this makes keyboard behavior match letters printed
on it both on EU and US keyboards.
2017-12-25 04:30:32 +00:00
Yegor Timoshenko 9b3e42be63
apple: wrap hardware.facetimehd option 2017-12-25 01:51:02 +00:00
Yegor Timoshenko 5a1a527f16
apple: enable facetimehd if allowUnfree = true 2017-12-25 01:28:02 +00:00
Yegor Timoshenko db483616db
apple/macbook-air/6: init 2017-12-25 01:27:28 +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
Yegor Timoshenko a8b7b6ffe5
apple/macbook-pro/10-1: fix evaluation, drop old kernel notes 2017-12-24 12:13:25 +00:00
Yegor Timoshenko 9609c900f9
apple: add services.mbpfan.enable 2017-12-24 03:38:17 +00:00
Yegor Timoshenko 3c9f432a71 treewide: modules -> profiles, separate dirs, list in README (#29)
Enforce proper naming: all paths are lowercase and hyphen-separated,
if there's a line of models (aspire, macbook-pro, thinkpad) it becomes
a subdirectory. Documentation for profiles is moved to README files in
respective directories.

Add an Org mode table that lists all available profiles and their paths.

Instead of fetching repo locally, use a Nix channel. Making hardware
profiles read-only should improve quality and amount of participation
long-term.
2017-12-22 17:17:00 +00:00
Yegor Timoshenko d4688911b7 treewide: drop hardware-configuration.nix boilerplate (#28)
hardware-configuration.nix is still relied upon for hard drive
configuration, and it handles variations of hardware (custom
configurations, subrevisions).
2017-12-22 10:33:54 +00:00
Tom Hunger 7f194802c5 Add file for macbook pro 12,1 with suspend fix. 2017-09-24 15:19:52 +01:00
John Ericson e5cc44520f Apple MacBook Pro 10,1 2016-10-20 14:53:52 -04:00