mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-10 01:42:55 +00:00
d013f980a7
and start removing if statements
22 lines
408 B
Nix
22 lines
408 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.xserver.libinput.mouse = {
|
|
# Disable mouse acceleration
|
|
accelProfile = "flat";
|
|
accelSpeed = "1.15";
|
|
};
|
|
|
|
};
|
|
|
|
}
|