nixos-hardware/apple
Peter Bittner 7d9552ef6b Replace symlink references by real path and delete symlink
The common/pc/laptop/ssd folder was apparently moved a level up and was
replaced by a symlink to keep things working. We can consolidate this now.
2025-05-05 11:17:15 +02:00
..
imac Replace symlink references by real path and delete symlink 2025-05-05 11:17:15 +02:00
macbook-air Replace symlink references by real path and delete symlink 2025-05-05 11:17:15 +02:00
macbook-pro Replace symlink references by real path and delete symlink 2025-05-05 11:17:15 +02:00
macmini fix 24.05 evaluation 2024-06-21 23:50:11 +02:00
t2 apple/t2: sync patches 2025-03-26 15:29:11 +08: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