Unverified Commit bb0c512b authored by Spencer Heywood's avatar Spencer Heywood
Browse files

nixos/vmware.guest: disable xf86inputvmmouse on aarch64

parent a6c83f49
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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*"