remove mouse-dpi module

This commit is contained in:
Sean Buckley 2022-08-08 13:40:03 -04:00
parent 6573495580
commit e86c3bc12c
2 changed files with 5 additions and 17 deletions

View file

@ -1,17 +0,0 @@
{ 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);
}

View file

@ -9,6 +9,11 @@ with lib;
security-tools = true;
};
services.udev.extraHwdb = ''
mouse:usb:*
MOUSE_DPI=600@1000
'';
fonts.fonts = [ pkgs.bck-nerdfont ];
environment.variables.MOZ_ENABLE_WAYLAND = "1";