mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-26 13:05:37 +00:00
24 lines
386 B
Nix
24 lines
386 B
Nix
{ config, ... }: {
|
|
|
|
config = {
|
|
|
|
services.xserver = {
|
|
|
|
layout = "us";
|
|
|
|
# Keyboard responsiveness
|
|
autoRepeatDelay = 250;
|
|
autoRepeatInterval = 40;
|
|
|
|
# Swap escape key with caps lock key
|
|
xkbOptions = "eurosign:e,caps:swapescape";
|
|
|
|
};
|
|
|
|
# Enable num lock on login
|
|
home-manager.users.${config.user}.xsession.numlock.enable = true;
|
|
|
|
};
|
|
|
|
}
|