virtualisation.diskImage

Path to the disk image containing the root filesystem. The image will be created on startup if it does not exist.

If null, a tmpfs will be used as the root filesystem and the VM's state will not be persistent.

Type
null or string
Default
"./${config.system.name}.qcow2"
Declared
<nixpkgs/nixos/modules/virtualisation/qemu-vm.nix>