calcite: add keyd service to map keyboard
This commit is contained in:
parent
4e9bf3ebac
commit
3bc12ecfa3
1 changed files with 15 additions and 0 deletions
|
@ -71,6 +71,21 @@
|
||||||
layout = "us";
|
layout = "us";
|
||||||
xkbVariant = "";
|
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.
|
# Enable CUPS to print documents.
|
||||||
services.printing.enable = true;
|
services.printing.enable = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue