1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-23 03:19:42 +01:00

macbook: add README.md to describe switching Cmd and Alt/AltGr

This commit is contained in:
Ivan Kovnatsky 2020-11-03 10:15:34 +02:00
parent d2ac7fb650
commit 6a0f1a9e84
No known key found for this signature in database
GPG key ID: 5CA146DD3D5B77D8
2 changed files with 11 additions and 1 deletions

11
apple/README.md Normal file
View file

@ -0,0 +1,11 @@
## 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

View file

@ -2,7 +2,6 @@
{
boot.kernelParams = [
"hid_apple.swap_opt_cmd=1"
"hid_apple.iso_layout=0"
];