Feat(templates): export clan templates statically
This commit is contained in:
@@ -213,6 +213,8 @@ in
|
|||||||
|
|
||||||
secrets = lib.mkOption { type = lib.types.raw; };
|
secrets = lib.mkOption { type = lib.types.raw; };
|
||||||
|
|
||||||
|
templates = lib.mkOption { type = lib.types.raw; };
|
||||||
|
|
||||||
machines = lib.mkOption { type = lib.types.raw; };
|
machines = lib.mkOption { type = lib.types.raw; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -250,6 +250,9 @@ in
|
|||||||
# We should have only clan.modules. (consistent with clan.templates)
|
# We should have only clan.modules. (consistent with clan.templates)
|
||||||
inherit (clan-core) clanModules;
|
inherit (clan-core) clanModules;
|
||||||
|
|
||||||
|
# Statically export the predefined clan modules
|
||||||
|
templates = clan-core.clan.templates;
|
||||||
|
|
||||||
secrets = config.secrets;
|
secrets = config.secrets;
|
||||||
|
|
||||||
# machine specifics
|
# machine specifics
|
||||||
|
|||||||
Reference in New Issue
Block a user