nixos/vmware.guest: disable xf86inputvmmouse on aarch64

This commit is contained in:
Spencer Heywood 2024-07-11 15:43:39 -06:00
parent a6c83f4952
commit bb0c512b54
No known key found for this signature in database

View File

@ -65,9 +65,9 @@ in
environment.etc.vmware-tools.source = "${open-vm-tools}/etc/vmware-tools/*";
services.xserver = mkIf (!cfg.headless) {
modules = [ xf86inputvmmouse ];
modules = lib.optionals pkgs.stdenv.hostPlatform.isx86 [ xf86inputvmmouse ];
config = ''
config = lib.optionalString (pkgs.stdenv.hostPlatform.isx86) ''
Section "InputClass"
Identifier "VMMouse"
MatchDevicePath "/dev/input/event*"