2021-07-10 02:17:56 +00:00
|
|
|
{ lib, ... }:
|
|
|
|
let
|
2021-10-08 04:42:18 +00:00
|
|
|
setting = "600@1000";
|
|
|
|
devices = [
|
|
|
|
"SteelSeries SteelSeries Aerox 3 Wireless"
|
|
|
|
"Logitech G Pro Gaming Mouse"
|
|
|
|
"Logitech G305"
|
2022-01-22 03:16:06 +00:00
|
|
|
"Logitech USB Receiver"
|
2021-10-08 04:42:18 +00:00
|
|
|
"Glorious Model O"
|
2022-08-03 19:11:46 +00:00
|
|
|
"Razer Razer Viper V2 Pro"
|
2021-10-08 04:42:18 +00:00
|
|
|
];
|
2021-07-10 02:17:56 +00:00
|
|
|
in
|
|
|
|
{
|
|
|
|
services.udev.extraHwdb = lib.concatMapStrings
|
2021-10-08 04:42:18 +00:00
|
|
|
(n: "\nmouse:usb:*:name:${n}:*\n MOUSE_DPI=${setting}\n")
|
|
|
|
(devices);
|
2021-07-10 02:17:56 +00:00
|
|
|
}
|