Skip to content

networking

clan.core.networking.buildHost

The build SSH node where nixos-rebuild will be executed.

If set to null, the targetHost will be used.

format: user@host:port&SSH_OPTION=SSH_VALUE examples: - machine.example.com - user@machine2.example.com - root@example.com:2222&IdentityFile=/path/to/private/key

Type: null or string

Default:

null

networking.nix

clan.core.networking.targetHost

The target SSH node for deployment.

By default, the node's attribute name will be used. If set to null, only local deployment will be supported.

format: user@host:port&SSH_OPTION=SSH_VALUE examples: - machine.example.com - user@machine2.example.com - root@example.com:2222&IdentityFile=/path/to/private/key

Type: null or string

Default:

null

networking.nix

clan.core.networking.zerotier.controller.enable

Whether to enable turn this machine into the networkcontroller.

Type: boolean

Default:

false
Example
true

zerotier

clan.core.networking.zerotier.controller.public

everyone can join a public network without having the administrator to accept

Type: boolean

Default:

false

zerotier

clan.core.networking.zerotier.moon.orbitMoons

Join these moons. This machine will be able to reach all machines in these moons.

Type: list of string

Default:

[ ]

zerotier

clan.core.networking.zerotier.moon.stableEndpoints

Make this machine a moon. Other machines can join this moon by adding this moon in their config. It will be reachable under the given stable endpoints.

Type: list of string

Default:

[ ]

zerotier

clan.core.networking.zerotier.name

zerotier network name

Type: string

Default:

"config.clan.core.name"

zerotier

clan.core.networking.zerotier.networkId

zerotier networking id

Type: null or string

Default:

null

zerotier

clan.core.networking.zerotier.settings

override the network config in /var/lib/zerotier/bla/$network.json

Type: JSON value

zerotier

clan.core.networking.zerotier.subnet

Readonly

zerotier subnet

Type: null or string

Default:

null

zerotier