Skip to content

Auto-import all flakeModules from inputs in mkFlake

Smartypants requested to merge auto-import-flakemodules into master

Summary

  • mkFlake now collects all flakeModules from every input (except self) and auto-imports them
  • Eliminates manual imports = [ inputs.foo.flakeModules.bar ] boilerplate for consumers
  • Safe under RFC042 convention: every flakeModule is gated by config.enable (default false)
  • The explicit local.self.flakeModules.nixica import is replaced by the generic collector

Closes #6 (closed)

Merge request reports