lib/vagrant-nixos/provisioner.rb
# This is the method called when the actual provisioning should be
# done. The communicator is guaranteed to be ready at this point,
# and any shared folders or networks are already setup.
#
# No return value is expected.
This is the method called when the actual provisioning should be
done. The communicator is guaranteed to be ready at this point,
and any shared folders or networks are already setup.

No return value is expected.
This is the method called when the actual provisioning should be done . The communicator is guaranteed to be ready at this point and any shared folders or networks are already setup . No return value is expected .
def provision
        prov = if config.inline
          config.inline
        elsif config.path
          File.read(config.path)
        elsif config.expression
          "{config, pkgs, ...}: with pkgs; #{@config.expression}"
        else
          "{}"
        end
        write_config('vagrant-provision.nix', prov)
        rebuild!
      end
def provision prov = if config . inline config . inline elsif config . path File . read ( config . path ) elsif config . expression "{config, pkgs, ...}: with pkgs; #{@config.expression}" else "{}" end write_config ( 'vagrant-provision.nix' , prov ) rebuild! end
This is the method called when the actual provisioning should be
done.
This is the method called when the actual provisioning should be done .