summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configs/input/mx-anywhere-3.nix18
-rw-r--r--systems/ru/config.nix1
2 files changed, 19 insertions, 0 deletions
diff --git a/configs/input/mx-anywhere-3.nix b/configs/input/mx-anywhere-3.nix
new file mode 100644
index 00000000..f8f8cdf7
--- /dev/null
+++ b/configs/input/mx-anywhere-3.nix
@@ -0,0 +1,18 @@
+{
+ # The kernel turns the wheel's high resolution on at every connect.
+ services.logiops = {
+ enable = true;
+ config.devices = [
+ {
+ name = "MX Anywhere 3";
+ hiresscroll = {
+ hires = false;
+ invert = false;
+ target = false;
+ };
+ }
+ ];
+ };
+ # logid needs no display.
+ systemd.services.logid.wantedBy = [ "multi-user.target" ];
+}
diff --git a/systems/ru/config.nix b/systems/ru/config.nix
index 5381303d..41447bba 100644
--- a/systems/ru/config.nix
+++ b/systems/ru/config.nix
@@ -2,6 +2,7 @@
imports = [
../../configs/hw/winmax2.nix
../../configs/btrfs-scrub.nix
+ ../../configs/input/mx-anywhere-3.nix
../../configs/networkd.nix
../../configs/retiolum.nix
../../configs/wiregrill.nix