MyNixOS website logo
option

virtualisation.sharedDirectories

An attributes set of directories that will be shared with the virtual machine using VirtFS (9P filesystem over VirtIO). The attribute name will be used as the 9P mount tag.

Declarations
Type
attribute set of (submodule)
Default
{ }
Example
{
  my-share = {
    source = "/path/to/be/shared";
    target = "/mnt/shared";
  };
}