Vagrant
NixOS as Host
Using NFS mounts
Add to your configuration.nix:
{
# Minimal configuration for NFS support with Vagrant.
services.nfs.server.enable = true;
# !!! This is "unsafe", ports needed should be found and fixed here.
networking.firewall.enable = false;
}
This will make NFS mounts work.
Plugins
NixOS Plugin
See the NixOS vagrant box page, which as information about the vagrant-nixos-plugin
project.