diff --git a/lib/inventory/build-inventory/interface.nix b/lib/inventory/build-inventory/interface.nix index f65ea230d..d693df3df 100644 --- a/lib/inventory/build-inventory/interface.nix +++ b/lib/inventory/build-inventory/interface.nix @@ -448,7 +448,8 @@ in type = types.listOf ( types.oneOf [ types.str - types.anything + types.path + (types.attrsOf types.anything) ] ); }; diff --git a/pkgs/clan-cli/clan_lib/nix_models/clan.py b/pkgs/clan-cli/clan_lib/nix_models/clan.py index 7fd62ae06..ab0cde71f 100644 --- a/pkgs/clan-cli/clan_lib/nix_models/clan.py +++ b/pkgs/clan-cli/clan_lib/nix_models/clan.py @@ -38,7 +38,7 @@ class InventoryInstanceRoleTag(TypedDict): -InventoryInstanceRoleExtramodulesType = list[dict[str, Any] | list[Any] | bool | float | int | str | None] +InventoryInstanceRoleExtramodulesType = list[dict[str, Any] | str] InventoryInstanceRoleMachinesType = dict[str, InventoryInstanceRoleMachine] InventoryInstanceRoleSettingsType = Unknown InventoryInstanceRoleTagsType = dict[str, InventoryInstanceRoleTag]