nixos/installation-cd-graphical-base: disable hyper-v guest on exotic platforms (#403737)

authored by Aleksana and committed by GitHub fef2e4ea 9eccdb4e

+3 -1
+3 -1
nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix
··· 32 services.spice-vdagentd.enable = true; 33 services.qemuGuest.enable = true; 34 virtualisation.vmware.guest.enable = pkgs.stdenv.hostPlatform.isx86; 35 - virtualisation.hypervGuest.enable = true; 36 services.xe-guest-utilities.enable = pkgs.stdenv.hostPlatform.isx86; 37 # The VirtualBox guest additions rely on an out-of-tree kernel module 38 # which lags behind kernel releases, potentially causing broken builds.
··· 32 services.spice-vdagentd.enable = true; 33 services.qemuGuest.enable = true; 34 virtualisation.vmware.guest.enable = pkgs.stdenv.hostPlatform.isx86; 35 + # https://github.com/torvalds/linux/blob/00b827f0cffa50abb6773ad4c34f4cd909dae1c8/drivers/hv/Kconfig#L7-L8 36 + virtualisation.hypervGuest.enable = 37 + pkgs.stdenv.hostPlatform.isx86 || pkgs.stdenv.hostPlatform.isAarch64; 38 services.xe-guest-utilities.enable = pkgs.stdenv.hostPlatform.isx86; 39 # The VirtualBox guest additions rely on an out-of-tree kernel module 40 # which lags behind kernel releases, potentially causing broken builds.