mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-04 09:17:14 +08:00
macbook: add README.md to describe switching Cmd and Alt/AltGr
This commit is contained in:
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"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user