36 lines
621 B
Nix
Raw Normal View History

2024-04-20 09:42:06 -04:00
{
config,
pkgs,
lib,
...
}:
{
2022-04-28 22:12:16 -04:00
config = lib.mkIf config.gui.enable {
2022-04-28 22:12:16 -04:00
# Mouse customization
services.ratbagd.enable = true;
2022-04-30 12:32:00 -04:00
environment.systemPackages = with pkgs; [
libratbag # Mouse adjustments
piper # Mouse adjustments GUI
];
2022-04-28 22:12:16 -04:00
services.libinput.mouse = {
# Disable mouse acceleration
accelProfile = "flat";
accelSpeed = "1.15";
2022-12-21 14:18:03 -07:00
};
# Cursor
home-manager.users.${config.user}.home.pointerCursor = {
name = "Adwaita";
2024-08-01 22:41:15 -04:00
package = pkgs.adwaita-icon-theme;
size = 24;
gtk.enable = true;
x11.enable = true;
};
};
2022-04-28 22:12:16 -04:00
}