template_dirNivis Nix constructor for the template_dir resource (provider template). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
destination_dir,
source_dir,
id ? null,
vars ? null,
overrides ? {}
}Required arguments
destination_dirsource_dir
Optional arguments
id(defaults tonull)vars(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
template_dir {
name = "dir";
destination_dir = …; # required
source_dir = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.