virtualisation.useDefaultFilesystems

If enabled, the boot disk of the virtual machine will be formatted and mounted with the default filesystems for testing. Swap devices and LUKS will be disabled.

If disabled, a root filesystem has to be specified and formatted (for example in the initial ramdisk).

Type
boolean
Default
true
Declared
<nixpkgs/nixos/modules/virtualisation/qemu-vm.nix>