mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-26 21:09:42 +01:00
macbook: add README.md to describe switching Cmd and Alt/AltGr
This commit is contained in:
parent
d2ac7fb650
commit
6a0f1a9e84
2 changed files with 11 additions and 1 deletions
11
apple/README.md
Normal file
11
apple/README.md
Normal 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
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
boot.kernelParams = [
|
boot.kernelParams = [
|
||||||
"hid_apple.swap_opt_cmd=1"
|
|
||||||
"hid_apple.iso_layout=0"
|
"hid_apple.iso_layout=0"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue