mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-10 07:32:55 +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;
|
|
|
|
};
|
|
|
|
}
|