Hi Mark,

This is what I do for caps lock as control key:

    # configuration.nix
    i18n.consoleKeyMap = (pkgs.writeText "keys.map" ''
      keymaps 0-255
      keycode 58 = Control
    '');

It works for the US keyboard layout. If you use another layout, you
might want to edit the output of dumpkeys ("kbd" package) yourself, and
load that file as i18n.consoleKeyMap.


Cheers,

Rodney
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to