Skip to content

Commit 6e42fc0

Browse files
Fix certain hypervisor guest packages breaking aarch64 support
1 parent 6a9af03 commit 6e42fc0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

configuration.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
};
1717
services.qemuGuest.enable = true;
1818
services.spice-vdagentd.enable = true;
19-
virtualisation.virtualbox.guest.enable = true;
19+
virtualisation.virtualbox.guest.enable = lib.mkIf (pkgs.stdenv.hostPlatform.isx86_64) true; # Quick solution as VirtualBox doesn't support ARM
2020
virtualisation.hypervGuest.enable = true;
2121

2222
# For convenience of installation/debugging
@@ -31,7 +31,8 @@
3131
htop
3232
bash-completion
3333
# More guest agents
34-
xen-guest-agent
3534
open-vm-tools
35+
] ++ lib.optionals (pkgs.stdenv.hostPlatform.isx86_64) [ # Quick solution as Xen doesn't support ARM
36+
xen-guest-agent
3637
];
3738
}

0 commit comments

Comments
 (0)