[Nix-dev] Remapping Console Key Bindings

Mark Gardner mkg at vt.edu
Thu Jan 5 19:15:04 CET 2017


I have been unable to figure out what to put in configuration.nix to
implement the behavior I am used to under Debian. The contents of
/etc/kdb/remap are sed commands for remapping the CapsLock key to Control
and the right Control key to CapsLock:

# This turns caps lock into control
s/keycode  58 = Caps_Lock/keycode  58 = Control/;
# This turns right control into caps lock
s/keycode  97 = Control/keycode  97 = Caps_Lock/;

What is the best way to do that for NixOS?

Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20170105/d9af64f6/attachment.html>


More information about the nix-dev mailing list