dustinlyons / nixos-config

General purpose Nix configuration for macOS / NixOS with starter templates + step-by-step guides ✨
BSD 3-Clause "New" or "Revised" License
1.78k stars 113 forks source link

Experiencing issue with keyboard layout #96

Closed gjolund closed 5 months ago

gjolund commented 5 months ago

Since running this repo on a new provisioned M1 running Sonoma 14.5 I have noticed that the caps lock keys on my Mac keyboard and external usb keyboard has been rebound to ctrl.

I've looked through the repo a couple times but have not been able to find where this is happening.

Does your config remap the caps lock key or is this some deeper issue?

No other configuration changes were made to this machine besides apply this nixes-config.

dustinlyons commented 5 months ago

Oops, yes. I will disable this in the template for future users.

To fix yours, update keyboard.remapCapsLockToControl to false at the bottom of the hosts/darwin/default.nix file.

gjolund commented 5 months ago

Oops, yes. I will disable this in the template for future users.

To fix yours, update keyboard.remapCapsLockToControl to false at the bottom of the hosts/darwin/default.nix file.

ah thanks, don't know how I missed that