New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document NixOS module inputs #132419
Comments
The NixOS module internally specifies these arguments:
The module system allows adding arbitrary other arguments however, using either
Finally, the user can add arbitrary attributes as well using mainly |
The module system internally specifies [...] It's not NixOS-specific; only pioneered with it. (I know you know; typo?)
This one can be set through
Should we encourage this though? It's a flat namespace and it's not as powerful as options, iirc. So why not put your stuff in the |
Oh yeah, should be "module system" as you suggest instead :)
I agree that in general it should be discouraged. Though defining options currently has the problem that the type that is being used can influence evaluation of the value. However, it just so happens that I worked on improving this today, see #132448 |
I'm documenting |
There's currently no reference documentation (that I could find) listing all module inputs.
For example
modulesPath
is quite uncommon.The text was updated successfully, but these errors were encountered: