mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-22 21:24:41 +01:00
28 lines
541 B
Nix
28 lines
541 B
Nix
{...}: {
|
|
# key remapping
|
|
jade.input.remapping = {
|
|
enable = true;
|
|
devices."AT Translated Set 2 keyboard" = {
|
|
swapKeys = [
|
|
["KEY_Y" "KEY_Z"]
|
|
["KEY_LEFTALT" "KEY_LEFTMETA"]
|
|
];
|
|
dual_role = [
|
|
{
|
|
input = "KEY_CAPSLOCK";
|
|
hold = ["KEY_LEFTCTRL"];
|
|
tap = ["KEY_ESC"];
|
|
}
|
|
];
|
|
};
|
|
};
|
|
|
|
hardware.trackpoint = {
|
|
enable = true;
|
|
device = "TPPS/2 IBM TrackPoint";
|
|
sensitivity = 256;
|
|
};
|
|
|
|
services.xserver.libinput.touchpad.tapping = false;
|
|
}
|