You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{,# This would be remove in the future, Prefer _module.args option instead.args ? {}}
at the reasoning of
/* Evaluate a set of modules. The result is a set of two
attributes: ‘options’: the nested set of all option declarations,
and ‘config’: the nested set of all option values.
!!! Please think twice before adding to this argument list! The more
that is specified here instead of in the modules themselves the harder
it is to transparently move a set of modules to be a submodule of another
config (as the proper arguments need to be replicated at each call to
evalModules) and the less declarative the module set is. */
Its also unecessary, it can be just done with _module.args. So in flake-utils-plus, you could just add a sharedModule that sets the option instead of using extraArgs. A useful feature however is adding specialArgs which has to be passed to nixosSystem/evalModules. And specialArgs is necessary, if you want to use arguments in imports lines.
flake-utils-plus/systemFlake.nix
Line 89 in 51cb739
upstream states:
at the reasoning of
It travels via this nixos waypoint.
Unless, I'm misunderstanding something, that is.
The text was updated successfully, but these errors were encountered: