mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
17 lines
377 B
Nix
17 lines
377 B
Nix
{ lib, ... }:
|
|
let
|
|
setting = "600@1000";
|
|
devices = [
|
|
"SteelSeries SteelSeries Aerox 3 Wireless"
|
|
"Logitech G Pro Gaming Mouse"
|
|
"Logitech G305"
|
|
"Logitech USB Receiver"
|
|
"Glorious Model O"
|
|
"Razer Razer Viper V2 Pro"
|
|
];
|
|
in
|
|
{
|
|
services.udev.extraHwdb = lib.concatMapStrings
|
|
(n: "\nmouse:usb:*:name:${n}:*\n MOUSE_DPI=${setting}\n")
|
|
(devices);
|
|
}
|