diff options
author | Robert Hensing <robert@roberthensing.nl> | 2023-02-13 10:51:50 +0100 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2023-05-06 18:22:51 +0200 |
commit | fe1527939038ac964df2028e6b90c35121db9955 (patch) | |
tree | f941558aec267d5eec218393973e95975ca6ed52 /lib | |
parent | e7e64233c9078f03de13a6d8750c1daaa673a0c2 (diff) |
lib/modules.nix: Use explicit exports
Diffstat (limited to 'lib')
-rw-r--r-- | lib/modules.nix | 56 |
1 files changed, 52 insertions, 4 deletions
diff --git a/lib/modules.nix b/lib/modules.nix index 9c3e2085e3781..de03b50e2698e 100644 --- a/lib/modules.nix +++ b/lib/modules.nix @@ -63,10 +63,6 @@ let decls )); -in - -rec { - /* Evaluate a set of modules. The result is a set with the attributes: @@ -1218,4 +1214,56 @@ rec { _file = file; config = lib.importTOML file; }; + +in +{ + inherit + applyModuleArgsIfFunction + collectModules + defaultOrderPriority + defaultOverridePriority + defaultPriority + dischargeProperties + doRename + evalModules + evalOptionValue + filterOverrides + filterOverrides' + fixMergeModules + fixupOptionType + importJSON + importTOML + mergeDefinitions + mergeModules + mergeModules' + mergeOptionDecls + mkAfter + mkAliasAndWrapDefinitions + mkAliasAndWrapDefsWithPriority + mkAliasDefinitions + mkAliasIfDef + mkAliasOptionModule + mkAliasOptionModuleMD + mkAssert + mkBefore + mkChangedOptionModule + mkDefault + mkDerivedConfig + mkFixStrictness + mkForce + mkIf + mkImageMediaOverride + mkMerge + mkMergedOptionModule + mkOptionDefault + mkOrder + mkOverride + mkRemovedOptionModule + mkRenamedOptionModule + mkRenamedOptionModuleWith + mkVMOverride + pushDownProperties + setDefaultModuleLocation + sortProperties + unifyModuleSyntax; } |