Skip to content

static-hosts

Statically configure the host names of machines based on their respective zerotier-ip.

Categories

Uncategorized

Usage via Inventory

This module cannot be used via the inventory interface.

Usage via Nix

This module can be also imported directly in your nixos configuration. Although it is recommended to use the inventory interface if available.

Some modules are considered 'low-level' or 'expert modules' and are not available via the inventory interface.

{config, lib, inputs, ...}: {
    imports = [ inputs.clan-core.clanModules.static-hosts ];
    # ...
}

Module Options

The following options are available for this module.

clan.static-hosts.excludeHosts

Hosts that should be excluded

Type: list of string

Default:

[
  "nixos"
]

static-hosts

clan.static-hosts.topLevelDomain

Top level domain to reach hosts

Type: string

Default:

""

static-hosts