mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
remove mouse-dpi module
This commit is contained in:
parent
6573495580
commit
e86c3bc12c
2 changed files with 5 additions and 17 deletions
|
@ -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);
|
||||
}
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue