mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-23 01:05:38 +00:00
22 lines
391 B
Nix
22 lines
391 B
Nix
{ pkgs, lib, gui, ... }: {
|
|
|
|
config = lib.mkIf 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";
|
|
};
|
|
|
|
};
|
|
|
|
}
|