mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-27 03:59:45 +01:00
12 lines
277 B
Markdown
12 lines
277 B
Markdown
|
## Switching Cmd and Alt/AltGr
|
||
|
|
||
|
This will switch the left Alt and Cmd key as well as the right Alt/AltGr and Cmd key.
|
||
|
|
||
|
```nix
|
||
|
boot.kernelParams = [
|
||
|
"hid_apple.swap_opt_cmd=1"
|
||
|
];
|
||
|
```
|
||
|
|
||
|
Reference: https://wiki.archlinux.org/index.php/Apple_Keyboard#Switching_Cmd_and_Alt/AltGr
|