modules/frontmatter: init module interface as source of frontmatter

This commit is contained in:
Johannes Kirschbauer
2024-11-15 16:00:15 +01:00
parent f9f760cbe8
commit 9028027220
6 changed files with 102 additions and 63 deletions

View File

@@ -5,16 +5,16 @@
...
}:
let
eval = import ./eval-clan-modules {
evalClan = import ./eval-clan-modules {
inherit clan-core lib;
pkgs = nixpkgs.legacyPackages.x86_64-linux;
};
in
{
inherit (eval) evalClanModules evalClanModulesWithRoles;
inherit (evalClan) evalClanModules evalClanModulesWithRoles;
buildClan = import ./build-clan { inherit lib nixpkgs clan-core; };
facts = import ./facts.nix { inherit lib; };
inventory = import ./inventory { inherit lib clan-core; };
jsonschema = import ./jsonschema { inherit lib; };
modules = import ./description.nix { inherit clan-core lib; };
modules = import ./frontmatter { inherit clan-core lib; };
}