[Nix-dev] Remapping Console Key Bindings

Rodney Lorrimar dev at rodney.id.au
Sun Jan 29 15:24:44 CET 2017


I just realised that the previous advice doesn't work very well after a
reboot (no keys work except control).

A better way is:
1. dumpkeys > /etc/nixos/keys.map
2. Edit keys.map and change keycode 58 from Caps_Lock to Control.
3. In configuration.nix:  i18n.consoleKeyMap = ./keys.map;


Cheers,

Rodney


More information about the nix-dev mailing list