diff --git a/ruysch-graphical.nix b/ruysch-graphical.nix index 0ab4469..6444664 100644 --- a/ruysch-graphical.nix +++ b/ruysch-graphical.nix @@ -323,15 +323,14 @@ }; }; - services.evdevremapkeys = { + services.evremap = { enable = true; - settings.devices = [ { - input_name = "Logitech MX Vertical"; - output_name = "Logitech MX Vertical (remapped)"; - remappings = { - BTN_EXTRA = [ "BTN_MIDDLE" ]; - BTN_SIDE = [ "BTN_MIDDLE" ]; - }; - } ]; + settings = { + device_name = "Logitech MX Vertical"; + remap = [ + { input = [ "BTN_EXTRA" ]; output = [ "BTN_MIDDLE" ]; } + { input = [ "BTN_SIDE" ]; output = [ "BTN_MIDDLE" ]; } + ]; + }; }; }