use keyd instead of xkb for key remap

This commit is contained in:
Noah Masur 2023-06-05 23:50:01 -04:00
parent e3d4b36613
commit 790cb4a9d0

View File

@ -10,9 +10,12 @@
autoRepeatDelay = 250;
autoRepeatInterval = 40;
# Swap escape key with caps lock key
xkbOptions = "eurosign:e,caps:swapescape";
};
# Use capslock as escape and/or control
services.keyd = {
enable = true;
settings = { main = { capslock = "overload(control, esc)"; }; };
};
# Enable num lock on login