feat: add input settings on darwin

This commit is contained in:
Guanran Wang 2023-09-20 06:35:55 +08:00
parent 48130212e3
commit 8d7c4d4140
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8
2 changed files with 13 additions and 0 deletions

11
flakes/darwin/input.nix Normal file
View file

@ -0,0 +1,11 @@
{ ... }:
{
system.defaults = {
".GlobalPreferences"."com.apple.mouse.scaling" = "-1"; # Disable mouse acceleration
trackpad = {
Clicking = true;
TrackpadRightClick = true;
};
};
}

View file

@ -5,6 +5,8 @@
./networking
./packages
./users
./input.nix
];
fonts.fonts = with pkgs; [