I find it hard to understand what you’re attempting to achieve here and I smell an XY-problem. Could you describe what you’re trying to achieve here in more detail?
Please note that override options and NixOS options are entirely different things and don’t interact with another unless explicitly made to do so.
Yes, sorry, this is an XY. I am less concerned with how I override neovim’s options, than understanding why I can override the neovim package, with options from the neovim NixOS module posted above.
If I go to NixOS package search, and search neovim, and follow the source link, it takes me here:
The options present in the module that @mightyiam posted are not referenced in the source code at all. So I am confused that I am able to do the following (and for it to work) when configure is not an attribute in the neovim package. Where are full set of attributes for the neovim package defined if not in the source file?