feat(keyd): setup keyd and some keybindings.

This commit is contained in:
CronyAkatsuki 2025-12-08 16:05:30 +01:00
parent 0fd2d59aa1
commit 1fbcf1809c
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{
config,
lib,
...
}: {
options = {
crony.keyd.enable = lib.mkEnableOption "Enable and setup keyd layers";
};
config = lib.mkIf config.crony.keyd.enable {
services.keyd = {
enable = true;
keyboards.default = {
ids = ["*"];
settings = {
main = {
capslock = "overload(control, esc)";
esc = "capslock";
};
};
};
};
};
}