feat: add keyd remapping for callisto

This commit is contained in:
Youwen Wu 2024-08-08 17:04:30 -07:00
parent 92ebabc823
commit c067390c9d
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -165,6 +165,31 @@
environment.variables = {
EDITOR = "nvim";
NIX_AUTO_RUN = 1;
};
services.keyd = {
enable = true;
keyboards = {
default = {
ids = [ "*" ];
settings = {
main = {
capslock = "esc";
leftmeta = "leftcontrol";
leftalt = "leftmeta";
leftcontrol = "leftalt";
rightmeta = "leftalt";
rightalt = "layer(rightalt)";
};
rightalt = {
i = "up";
j = "left";
k = "down";
l = "right";
};
};
};
};
};
# tells electron apps to use Wayland