make-disk-image: fix function precedence breaks customQemu

This commit is contained in:
Sávio committed 2025-01-10 20:23:13 -03:00
1 parent b1a94497b1
commit fe89f379e7
1 file changed
+2 -2
+2 -2
View File
@@ -13,7 +13,7 @@ let
configSupportsZfs = config.boot.supportedFilesystems.zfs or false;
vmTools = pkgs.vmTools.override
{
({
rootModules = [
"9p" "9pnet_virtio" # we can drop those in future if we stop supporting 24.11
@@ -32,7 +32,7 @@ let
// lib.optionalAttrs (diskoLib.vmToolsSupportsCustomQemu lib)
{
customQemu = cfg.qemu;
};
});
cleanedConfig = diskoLib.testLib.prepareDiskoConfig config diskoLib.testLib.devices;
systemToInstall = extendModules {
modules = [