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

This commit is contained in:
Ivan Kovnatsky committed 2020-11-03 10:19:25 +02:00
1 parent d2ac7fb650
commit 6a0f1a9e84
2 files changed
+11 -1

No files matched your search

+11
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
-1
View File
@@ -2,7 +2,6 @@
{
boot.kernelParams = [
"hid_apple.swap_opt_cmd=1"
"hid_apple.iso_layout=0"
];