From 6a0f1a9e845789565e78fee77f733ed29a4b53d8 Mon Sep 17 00:00:00 2001 From: Ivan Kovnatsky Date: Tue, 3 Nov 2020 10:15:34 +0200 Subject: [PATCH] macbook: add README.md to describe switching Cmd and Alt/AltGr --- apple/README.md | 11 +++++++++++ apple/default.nix | 1 - 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 apple/README.md diff --git a/apple/README.md b/apple/README.md new file mode 100644 index 0000000..c25d949 --- /dev/null +++ b/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 diff --git a/apple/default.nix b/apple/default.nix index 435ae84..a2ee262 100644 --- a/apple/default.nix +++ b/apple/default.nix @@ -2,7 +2,6 @@ { boot.kernelParams = [ - "hid_apple.swap_opt_cmd=1" "hid_apple.iso_layout=0" ];