Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macbook: added option for swapped cmd and opt #202

Merged
merged 2 commits into from Nov 3, 2020
Merged

macbook: added option for swapped cmd and opt #202

merged 2 commits into from Nov 3, 2020

Conversation

@ivankovnatsky
Copy link

@ivankovnatsky ivankovnatsky commented Oct 31, 2020

not 100% sure it should be default, as technically cmd is a super key, but being accustomed to PC keyboard layout I think it might easily be default.

ref: https://wiki.archlinux.org/index.php/Apple_Keyboard#Switching_Cmd_and_Alt/AltGr

@@ -2,6 +2,7 @@

{
boot.kernelParams = [
"hid_apple.swap_opt_cmd=1"
Copy link
Member

@Mic92 Mic92 Nov 3, 2020

Given that it is not easy to disable those options again, should we rather have a Readme.md in ./apple that just document this option?

## Switching Cmd and Alt/AltGr

This will switch the left Alt and Cmd key as well as the right Alt/AltGr and Cmd key. 

boot.kernelParams = [
  "hid_apple.swap_opt_cmd=1"
];

Copy link
Author

@ivankovnatsky ivankovnatsky Nov 3, 2020

yeah, let's do that. updated.

@Mic92 Mic92 merged commit 1b4ce64 into NixOS:master Nov 3, 2020
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants