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

Caps lock remapping with system.keyboard erased on restart #905

Open
yacinehmito opened this issue Mar 16, 2024 · 0 comments
Open

Caps lock remapping with system.keyboard erased on restart #905

yacinehmito opened this issue Mar 16, 2024 · 0 comments

Comments

@yacinehmito
Copy link
Contributor

I have set the following in my Nix config:

system.keyboard = {
  enableKeyMapping = true;
  remapsCapsLockToEscape = true;
};

After running darwin-rebuild, the Caps Lock key is successfully mapped to Escape.

However, after a computer restart, Caps Lock regains its normal behavior — the mapping is lost. Re-running darwin-rebuild works again, until the next restart.

Nix-darwin revision: d9ea313bc4851670dc99c5cc979cb79750e7d670
macOS version: Sonoma 14.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant