[quote=“Mic92, post:4, topic:203, full:true”]
Do you also intend to implement it like the NixOS module system? [/quote]
I started a reply to this post with the sentence “I’m not sure what this would look like, to be honest” (meaning, of course, "I have no idea what you’re talking about) but after further thought …
It would certainly be rather lovely if it created the configuration attrset by calling some number of user-supplied functions and merging the results using some sane merge strategy. I don’t know enough of how the modules system is implemented to say whether we could reuse the actual code or just the design patterns, though. Is that the kind of thing you had in mind?
Thanks for the question, it’s given me something to think about!
(Cleaning up the internals to use one or more nixpkgs overlays is already definitely on the TODO list and I have high hopes that it will make it easier to read. I’ve more than once already burnt myself by using the wrong busybox derivation)