1

fix: use keyd for sticky keys instead of the broken KDE implementation

This commit is contained in:
Himadri Bhattacharjee
2025-12-26 18:25:09 +05:30
parent b26ffe9006
commit c937e0f964

View File

@@ -163,6 +163,35 @@
# Make sure opengl is enabled
hardware.graphics.enable = true;
hardware.bluetooth.enable = true;
services.keyd = {
enable = true;
keyboards.sticky_keys.settings = {
main = {
control = "oneshot(control)";
meta = "oneshot(meta)";
shift = "oneshot(shift)";
leftalt = "oneshot(alt)";
};
control = {
control = "toggle(control)";
};
meta = {
meta = "toggle(meta)";
};
shift = {
shift = "toggle(shift)";
};
alt = {
leftalt = "toggle(alt)";
};
};
};
console = {
earlySetup = true;