mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-26 21:09:42 +01:00
99ed0bc663
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. |
||
---|---|---|
.. | ||
macbook-air | ||
macbook-pro | ||
default.nix | ||
README.md |
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