virtualisation.diskImage

NixOS option

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 in: nixos/modules/virtualisation/qemu-vm.nixView source on NixOS/nixpkgs →