mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
16 lines
346 B
Nix
16 lines
346 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"
|
|
];
|
|
in
|
|
{
|
|
services.udev.extraHwdb = lib.concatMapStrings
|
|
(n: "\nmouse:usb:*:name:${n}:*\n MOUSE_DPI=${setting}\n")
|
|
(devices);
|
|
}
|