{ ... }: { services.keyd = { enable = true; keyboards.default = { ids = [ "*" ]; settings.main = { capslock = "overload(control, esc)"; esc = "capslock"; control = "f14"; scrolllock = "esc"; }; }; }; }