{ flake, self, inputs, }: with builtins; with inputs.nixpkgs.lib; with self.lib; let # Combine hectic modules into one hectic.imports = attrValues ( readModulesRecursive' ./hectic { inherit flake self inputs; } ); # Read generic modules separately generic = readModulesRecursive' ./generic { inherit flake self inputs; }; in generic // { inherit hectic; default = hectic; }