ClanModules: make all module available to inventory

This commit is contained in:
Johannes Kirschbauer
2024-09-13 17:18:12 +02:00
parent e561a7cbb7
commit 7c0d87c5b1
3 changed files with 7 additions and 5 deletions

View File

@@ -135,6 +135,8 @@ let
in
if builtins.pathExists path then
path
else if role == "default" then
{ }
else
throw "Module doesn't have role: '${role}'. Path: ${path} not found."
) inverseRoles.${machineName} or [ ];