Support changing a loader for specific folders
Is your feature request related to a problem? Please describe.
My existing config is very similar to how blueprint is laid out, except for each host and module folder are loaded with haumea, such that the folder structure reflects the attributes.
Describe the solution you'd like
It would be interesting to have some setting where we can define logic for importing the folders, for example, for hosts, I would want haumea to be applied to each individual host folder, then I do not have to write the import function for every host or module I want to import in that way.
Describe alternatives you've considered
I have used my own custom alf-baked codebase for this kind of host and module management solution: multinix, but it is very half baked.
Additional context
Ok. At some point I want to break up lib/default.nix to make it more extensible, but right now it's not possible. blueprint is erring on the side of being opinionated about the folder structure.
What would happen if you were to move all the files in the blueprint's structure, is there something missing?
What would happen if you were to move all the files in the blueprint's structure, is there something missing?
Could you clarify what you mean?
What would happen if you were to move all the files in the blueprint's structure, is there something missing?
Could you clarify what you mean?
https://github.com/numtide/blueprint/issues/76#issuecomment-2668817970