generate

This is a bit of a special thing since unlike every other utils.* namespace this is not a set but a function returning a set. The only function input is pkgs and it expects the nixpkgs package set. This is done in this way to keep this functions pure.

utils.generate.zoneFiles

Type: utils.generate.zoneFiles :: Attr -> [ Files ]

Generates zonefiles from dnsConfig

config

: expects the dnsConfig module output as a input

utils.generate.linkZoneFiles

Type: utils.generate.linkZoneFiles :: Attr -> [ Files ]

config

: takes the output from utils.domains.getDnsConfig

utils.generate.octodnsConfig

Takes a Attrset like

  {
    inherit dnsConfig;
    config = { };
    zones = { };

    # optionally
    manager = { };
  }

Everything except for dnsConfig is a 1:1 map of the octodns config yaml described in their docs.

config

: The required config