Commit graph

61 commits

Author SHA1 Message Date
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