{pkgs, ...}: { home.packages = with pkgs; [ (writeShellScriptBin "key-remaps" '' ${xorg.xmodmap}/bin/xmodmap -e "keycode 64 = Mode_switch" ${xorg.xmodmap}/bin/xmodmap -e "keycode 43 = h H Left H" ${xorg.xmodmap}/bin/xmodmap -e "keycode 44 = j J Down J" ${xorg.xmodmap}/bin/xmodmap -e "keycode 45 = k K Up K" ${xorg.xmodmap}/bin/xmodmap -e "keycode 46 = l L Right L" '') ]; }