From 41cad5ea68cbac8065b79a6c8b2c1182aa1c3f1d Mon Sep 17 00:00:00 2001 From: Zhaofeng Li Date: Sat, 16 Oct 2021 08:58:03 -0700 Subject: [PATCH] all-hardware: Disable VMWare and Hyper-V modules on non-X86 platforms --- nixos/modules/profiles/all-hardware.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/profiles/all-hardware.nix b/nixos/modules/profiles/all-hardware.nix index 797fcddb8c90..62fef313e1f1 100644 --- a/nixos/modules/profiles/all-hardware.nix +++ b/nixos/modules/profiles/all-hardware.nix @@ -49,7 +49,7 @@ in # VMware support. "mptspi" "vmxnet3" "vsock" ] ++ lib.optional platform.isx86 "vmw_balloon" - ++ lib.optionals (!platform.isAarch64 && !platform.isAarch32) [ # not sure where else they're missing + ++ lib.optionals (pkgs.stdenv.isi686 || pkgs.stdenv.isx86_64) [ "vmw_vmci" "vmwgfx" "vmw_vsock_vmci_transport" # Hyper-V support.