dotfiles/modules/hardware/mouse.nix
Noah Masur 417623965e refactor arguments to options
also change theme to colorscheme
2022-05-05 23:02:01 -04:00

22 lines
401 B
Nix

{ config, pkgs, lib, ... }: {
config = lib.mkIf config.gui.enable {
# 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";
};
};
}