nixos-hardware/apple
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
..
macbook-air apple: Add support for MacBook Air 3,X (#91) 2019-11-12 10:36:10 +00:00
macbook-pro remove systemd-boot from hardware profiles (#307) 2021-08-21 09:22:25 +01:00
README.md macbook: add README.md to describe switching Cmd and Alt/AltGr 2020-11-03 10:19:25 +02:00
default.nix macbook: add README.md to describe switching Cmd and Alt/AltGr 2020-11-03 10:19:25 +02:00

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