Inventory: init module merge & validation logic for inventory

This commit is contained in:
Johannes Kirschbauer
2024-06-22 21:31:01 +02:00
committed by hsjobeki
parent c89080deb4
commit 2f8b782a1f
9 changed files with 198 additions and 168 deletions

View File

@@ -29,9 +29,7 @@ let
};
in
{
# clan.inventory.${moduleName}.${instanceName} = { ... }
# TODO: resolve clash with clan.services.waypipe
options.clan.services = lib.mkOption {
options.clan.inventory.services = lib.mkOption {
type = lib.types.attrsOf (lib.types.attrsOf instanceOptions);
};
}