2024-07-11 01:29:33 -03:00
|
|
|
{ pkgs, lib, ... }:
|
|
|
|
{
|
|
|
|
services.keyd = {
|
|
|
|
enable = true;
|
|
|
|
keyboards.default = {
|
|
|
|
ids = [ "*" ];
|
|
|
|
settings = {
|
|
|
|
"main" = {
|
|
|
|
# Some programs don't respect colemaks capslock bind, so we force it here
|
|
|
|
"capslock" = "backspace";
|
2024-07-24 21:18:01 -03:00
|
|
|
|
|
|
|
# keyd has incorrect defaults :/
|
|
|
|
"leftshift" = "leftshift";
|
|
|
|
"rightshift" = "rightshift";
|
|
|
|
"leftalt" = "leftalt";
|
|
|
|
"rightalt" = "rightalt";
|
|
|
|
"leftcontrol" = "leftcontrol";
|
|
|
|
"rightcontrol" = "rightcontrol";
|
|
|
|
"leftmeta" = "leftmeta";
|
|
|
|
"rightmeta" = "rightmeta";
|
2024-07-11 01:29:33 -03:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|