mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-23 01:05:38 +00:00
enable num lock on login
This commit is contained in:
parent
e7468ecc46
commit
bda59eeb4a
@ -1,15 +1,22 @@
|
|||||||
{ ... }: {
|
{ config, ... }: {
|
||||||
|
|
||||||
services.xserver = {
|
config = {
|
||||||
|
|
||||||
layout = "us";
|
services.xserver = {
|
||||||
|
|
||||||
# Keyboard responsiveness
|
layout = "us";
|
||||||
autoRepeatDelay = 250;
|
|
||||||
autoRepeatInterval = 40;
|
|
||||||
|
|
||||||
# Swap escape key with caps lock key
|
# Keyboard responsiveness
|
||||||
xkbOptions = "eurosign:e,caps:swapescape";
|
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;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user