Skip to content

Commit fef2e4e

Browse files
authored
nixos/installation-cd-graphical-base: disable hyper-v guest on exotic platforms (#403737)
2 parents 9eccdb4 + cd16ea2 commit fef2e4e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@
3232
services.spice-vdagentd.enable = true;
3333
services.qemuGuest.enable = true;
3434
virtualisation.vmware.guest.enable = pkgs.stdenv.hostPlatform.isx86;
35-
virtualisation.hypervGuest.enable = true;
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;
3638
services.xe-guest-utilities.enable = pkgs.stdenv.hostPlatform.isx86;
3739
# The VirtualBox guest additions rely on an out-of-tree kernel module
3840
# which lags behind kernel releases, potentially causing broken builds.

0 commit comments

Comments
 (0)