NixOS-Config/modules/system/services/general/keyd/default.nix

42 lines
838 B
Nix
Raw Normal View History

2024-10-18 20:26:32 -04:00
{ ... }:
{
services.keyd = {
enable = true;
keyboards.default = {
ids = [ "*" ];
settings = {
main = {
capslock = "overload(control,esc)";
2024-10-27 00:45:30 -04:00
leftcontrol = "overload(ctrlmod,noop)";
esc = "`";
rightcontrol = "esc";
left = "noop";
down = "noop";
up = "noop";
right = "noop";
};
2024-10-27 00:45:30 -04:00
2024-11-12 04:25:51 -05:00
ctrlmod = {
backspace = "delete";
h = "left";
j = "down";
k = "up";
l = "right";
2024-10-27 17:25:37 -04:00
"1" = "f1";
"2" = "f2";
"3" = "f3";
"4" = "f4";
"5" = "f5";
"6" = "f6";
"7" = "f7";
"8" = "f8";
"9" = "f9";
"0" = "f10";
"-" = "f11";
2024-12-09 23:07:20 -05:00
# ?? "=" = "f12";
2024-10-27 17:25:37 -04:00
};
2024-10-18 20:26:32 -04:00
};
};
};
}