···77# the VM in the host. On the other hand, the root filesystem is a
88# read/writable disk image persistent across VM reboots.
991010-{ config, lib, pkgs, ... }:
1010+{ config, lib, pkgs, options, ... }:
11111212with lib;
1313with import ../../lib/qemu-flags.nix { inherit pkgs; };
···265265 ];
266266267267 options = {
268268+269269+ virtualisation.fileSystems = options.fileSystems;
268270269271 virtualisation.memorySize =
270272 mkOption {
···659661 # attribute should be disregarded for the purpose of building a VM
660662 # test image (since those filesystems don't exist in the VM).
661663 fileSystems = mkVMOverride (
664664+ cfg.fileSystems //
662665 { "/".device = cfg.bootDevice;
663666 ${if cfg.writableStore then "/nix/.ro-store" else "/nix/store"} =
664667 { device = "store";