11.stylix/apple
2025-07-01 11:26:06 -04:00
..
imac
macbook-air
macbook-pro
macmini
t2 Merge remote-tracking branch 'upstream/master' into nixfmt 2025-07-01 11:26:06 -04:00
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