dotfiles/modules/hardware/keyboard.nix

17 lines
240 B
Nix
Raw Normal View History

2022-04-29 02:12:16 +00:00
{ ... }: {
services.xserver = {
2022-05-29 17:44:45 +00:00
layout = "us";
2022-04-29 02:12:16 +00:00
# Keyboard responsiveness
autoRepeatDelay = 250;
autoRepeatInterval = 40;
2022-05-29 17:44:45 +00:00
# Swap escape key with caps lock key
2022-04-29 02:12:16 +00:00
xkbOptions = "eurosign:e,caps:swapescape";
2022-05-29 17:44:45 +00:00
2022-04-29 02:12:16 +00:00
};
}