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

@@ -62,7 +62,7 @@ let
roles =
if builtins.elem "inventory" frontmatter.features or [ ] then
assert lib.isPath module;
clan-core.lib.modules.getRoles' moduleName
clan-core.lib.modules.getRoles moduleName
else
[ ];
in