mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-10 04:02:55 +00:00
20fcca6bda
however, the cursor is too big and i can't seem to make it smaller
36 lines
628 B
Nix
36 lines
628 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";
|
|
};
|
|
|
|
# Cursor
|
|
home-manager.users.${config.user}.home.pointerCursor = {
|
|
name = "Adwaita";
|
|
package = pkgs.gnome3.adwaita-icon-theme;
|
|
size = 24;
|
|
gtk.enable = true;
|
|
x11.enable = true;
|
|
};
|
|
|
|
};
|
|
}
|