1
0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-06-01 10:33:33 +02:00
nixos-hardware/apple
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
..
macbook-air apple: Add support for MacBook Air 3,X (#91) 2019-11-12 10:36:10 +00:00
macbook-pro apple/macbook-pro: add support for 14,1 2022-10-21 00:29:37 +10:00
default.nix macbook: add README.md to describe switching Cmd and Alt/AltGr 2020-11-03 10:19:25 +02:00
README.md macbook: add README.md to describe switching Cmd and Alt/AltGr 2020-11-03 10:19:25 +02:00

Switching Cmd and Alt/AltGr

This will switch the left Alt and Cmd key as well as the right Alt/AltGr and Cmd key.

boot.kernelParams = [
  "hid_apple.swap_opt_cmd=1"
];

Reference: https://wiki.archlinux.org/index.php/Apple_Keyboard#Switching_Cmd_and_Alt/AltGr