1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-30 06:49:43 +01:00
nixos-hardware/apple
2024-06-23 12:27:44 +00:00
..
macbook-air remove unused variables with deadnix 2023-12-25 20:25:23 +00:00
macbook-pro update macbookpro14,1 to 24.01 (2024) 2024-06-23 12:27:44 +00:00
macmini fix 24.05 evaluation 2024-06-21 23:50:11 +02:00
t2 apple/t2: update to kernel 6.9.4 2024-06-20 17:37:43 -04:00
default.nix apple: add hid_apple.iso_layout=0 kernel param 2017-12-25 04:30:32 +00: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