nixos/vmware.guest: disable xf86inputvmmouse on aarch64
This commit is contained in:
parent
a6c83f4952
commit
bb0c512b54
@ -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*"
|
||||
|
Loading…
Reference in New Issue
Block a user