Open thecaralice opened 2 months ago
The naming is somewhat arbitrary, I wanted it to be distinct from what flake.*Configurations
use, named them "early" because they are passed before the export through flake.*Modules
unlike specialArgs
and alike which are passed during module evaluation by the module system.
I'm not sure I understand the use case for this here. Could you give an example of when you would need this?
I currently use my fork for this flake which both provides packages built from a remote source and a NixOS module using these packages, which is why I created this fork. Other potential usages include the flake providing a lib which is used by these modules or even using flake inputs from modules.
For example, this allows making a flake which provides some package and a NixOS module for configuring that package. Unlike
globalArgs
/specialArgs
/extraSpecialArgs
, these are passed to individual modules before exporting them, so these modules are usable from a different flake.