nixos-hardware/apple
Daniel Siepmann 2d54ea30cf
macbook-air-6: remove mba6x_bl kernel module
This does not compile against 6.x Kernel.
This is also no longer necessary for 6.x Kernel.
One can use "acpi_video0" device instead of "mba6x_backlight" device.
2023-06-13 16:54:30 +02:00
..
macbook-air macbook-air-6: remove mba6x_bl kernel module 2023-06-13 16:54:30 +02:00
macbook-pro treewide: apply deadnix and statix 2022-12-31 11:57:44 +01: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