diff --git a/formats/qcow.nix b/formats/qcow.nix index 0d0aa80a..7e57fc31 100644 --- a/formats/qcow.nix +++ b/formats/qcow.nix @@ -5,7 +5,10 @@ modulesPath, specialArgs, ... -}: { +}: +let + contents = specialArgs.qcow.contents or []; +in { # for virtio kernel drivers imports = [ "${toString modulesPath}/profiles/qemu-guest.nix" @@ -33,6 +36,7 @@ diskSize = specialArgs.diskSize or "auto"; format = "qcow2"; partitionTableType = "hybrid"; + contents = contents; }; formatAttr = "qcow";