system/input: swap esc using keyd

This commit is contained in:
Cilly Leang 2026-06-05 00:16:15 +10:00
parent 9a87dc63c3
commit 8ca9e393ea
Signed by: cilly
GPG key ID: 6500251E087653C9

View file

@ -6,7 +6,18 @@
"-arinterval 15"
];
};
xkb.options = "caps:escape";
};
console.useXkbConfig = true;
services.keyd = {
enable = true;
keyboards = {
default = {
ids = [ "*" ];
settings = {
main = {
capslock = "overload(control, esc)";
};
};
};
};
};
}