A host is the base element of an inventory. It's a NixOS system configuration with some extra module and arguements.
An avalanche host module is a NixOS module with some extra aguments:
groups: attribut set of each groups and it's name.groupsMembers: attribut set of group members by group name.hosts: final system configuration of every hosts
It's also used in the defaultModules attirbute of
an inventory.
{ groups
, groupsMembers
, hosts
# nixos module arguments
, pkgs
, lib
, ...
}: {
# NixOS configuration
}