mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-14 15:22:55 +00:00
26 lines
406 B
Nix
26 lines
406 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
|
|
config = lib.mkIf config.gui.enable {
|
|
|
|
# Mouse customization
|
|
services.ratbagd.enable = true;
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
libratbag # Mouse adjustments
|
|
piper # Mouse adjustments GUI
|
|
];
|
|
|
|
services.libinput.mouse = {
|
|
# Disable mouse acceleration
|
|
accelProfile = "flat";
|
|
accelSpeed = "1.15";
|
|
};
|
|
};
|
|
}
|