Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 693 Bytes

File metadata and controls

31 lines (24 loc) · 693 Bytes

Host

A host is the base element of an inventory. It's a NixOS system configuration with some extra module and arguements.

Module

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.

Example

{ groups
, groupsMembers
, hosts
  # nixos module arguments
, pkgs
, lib
, ...
}: {
    # NixOS configuration
}