How to inject custom module arguments?

You could set _module.args.myLib = {...} in some module.
More info in Passing in extra arguments to configuration.nix

3 Likes