calcite: add keyd service to map keyboard

This commit is contained in:
xinyangli 2023-12-19 14:25:22 +08:00
parent 4e9bf3ebac
commit 3bc12ecfa3

View file

@ -71,6 +71,21 @@
layout = "us";
xkbVariant = "";
};
# Keyboard mapping on internal keyboard
services.keyd = {
enable = true;
keyboards = {
"internal" = {
ids = [ "0b05:1866" ];
settings = {
main = {
capslock = "overload(control, esc)";
leftcontrol = "capslock";
};
};
};
};
};
# Enable CUPS to print documents.
services.printing.enable = true;