dotfiles/modules/hardware/mouse.nix

22 lines
391 B
Nix
Raw Normal View History

2022-04-30 16:32:00 +00:00
{ pkgs, lib, gui, ... }: {
2022-04-29 02:12:16 +00:00
2022-04-30 16:32:00 +00:00
config = lib.mkIf gui.enable {
2022-04-29 02:12:16 +00:00
2022-04-30 16:32:00 +00:00
# Mouse config
services.ratbagd.enable = true;
environment.systemPackages = with pkgs; [
libratbag # Mouse adjustments
piper # Mouse adjustments GUI
];
services.xserver.libinput.mouse = {
# Disable mouse acceleration
accelProfile = "flat";
accelSpeed = "1.15";
};
2022-04-29 02:12:16 +00:00
};
}