mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-26 08:14:52 +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;
|
|
|
|
};
|
|
|
|
}
|