Project description
Some attribute sets are not allowed to contain any string as attribute name.
This type will add nameType to allow restriction of the names.
It may also add nameConfigPath (represented by the figurative ... in the title) to allow an alternative name for what's currently the _module.args.name config value path. (When reconsidering #177576)
I'd suggest this type to be lazy like lazyAttrsOf, or at least make that the default behavior (lazy ? true).
Example:
Project description
Some attribute sets are not allowed to contain any string as attribute name.
This type will add
nameTypeto allow restriction of the names.It may also add
nameConfigPath(represented by the figurative...in the title) to allow an alternative name for what's currently the_module.args.nameconfig value path. (When reconsidering #177576)I'd suggest this type to be lazy like
lazyAttrsOf, or at least make that the default behavior (lazy ? true).Example:
nixos/test-driver: use attrname from nodes to refer to machines #181482