about summary refs log tree commit diff
path: root/modules/nixos-hardware/apple/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'modules/nixos-hardware/apple/README.md')
-rw-r--r--modules/nixos-hardware/apple/README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/nixos-hardware/apple/README.md b/modules/nixos-hardware/apple/README.md
new file mode 100644
index 000000000000..c25d9499f425
--- /dev/null
+++ b/modules/nixos-hardware/apple/README.md
@@ -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