Feat(templates): export clan templates statically

This commit is contained in:
Johannes Kirschbauer
2025-06-11 12:02:32 +02:00
parent d166f73c00
commit 4a126fee12
2 changed files with 5 additions and 0 deletions

View File

@@ -213,6 +213,8 @@ in
secrets = lib.mkOption { type = lib.types.raw; };
templates = lib.mkOption { type = lib.types.raw; };
machines = lib.mkOption { type = lib.types.raw; };
};
};

View File

@@ -250,6 +250,9 @@ in
# We should have only clan.modules. (consistent with clan.templates)
inherit (clan-core) clanModules;
# Statically export the predefined clan modules
templates = clan-core.clan.templates;
secrets = config.secrets;
# machine specifics