Skip to content

Data mesher

services.data-mesher.enable

Whether to enable Data Mesher, data syncing daemon.

Type: boolean

Default: false

Example: true

Declared by: - nix/nixosModules/data-mesher/module.nix

services.data-mesher.package

The Data Mesher package to use.

Type: package

Declared by: - nix/nixosModules/data-mesher/module.nix

services.data-mesher.initNetwork.enable

Whether to enable Initialise network on startup.

Type: boolean

Default: false

Example: true

Declared by: - nix/nixosModules/data-mesher/module.nix

services.data-mesher.initNetwork.hostTTL

The TTL for hosts in the network, in the form of a Go time.Duration

Type: string

Default: "672h"

Example: "24h"

Declared by: - nix/nixosModules/data-mesher/module.nix

services.data-mesher.initNetwork.keyPath

A path to an ed22519 private key in PEM format, used for signing the network settings.

Type: path not in the Nix store

Default: "/etc/data-mesher/host.pem"

Declared by: - nix/nixosModules/data-mesher/module.nix

services.data-mesher.initNetwork.signingKeys

A list of host public keys, used to identify authoritative instances

Type: list of string

Declared by: - nix/nixosModules/data-mesher/module.nix

services.data-mesher.initNetwork.tld

Top level domain to use for the network

Type: string

Default: "sol"

Declared by: - nix/nixosModules/data-mesher/module.nix

services.data-mesher.openFirewall

Whether to enable Open ports in firewall.

Type: boolean

Default: false

Example: true

Declared by: - nix/nixosModules/data-mesher/module.nix

services.data-mesher.settings

Data Mesher settings, which correspond to the contents of the dm.toml file

Type: TOML value

Default: { }

Declared by: - nix/nixosModules/data-mesher/module.nix

services.data-mesher.settings.cluster.bootstrap_nodes

A list of peers to connect to when joining the cluster.

Type: list of string

Default: [ ]

Declared by: - nix/nixosModules/data-mesher/module.nix

services.data-mesher.settings.cluster.interface

Interface to listen on for memberlist communication

Type: string

Default: "lo"

Declared by: - nix/nixosModules/data-mesher/module.nix

services.data-mesher.settings.cluster.join_interval

An interval, in the form of a Golang time.Duration, which controls how frequently we check that we are peered with the root nodes, performing a join operation for any that we are not.

Type: string

Default: "30s"

Declared by: - nix/nixosModules/data-mesher/module.nix

services.data-mesher.settings.cluster.port

Port to listen on for memberlist communication

Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default: 7946

Declared by: - nix/nixosModules/data-mesher/module.nix

services.data-mesher.settings.cluster.push_pull_interval

An interval, in the form of a Golang time.Duration, which controls how frequently a node will perform a push/pull sync with another random node

Type: string

Default: "30s"

Declared by: - nix/nixosModules/data-mesher/module.nix

services.data-mesher.settings.host.ip

An optional override for the IP address reported for this host. When not specified, defaults to the ip address associated with cluster.interface.

Type: string

Default: ""

Declared by: - nix/nixosModules/data-mesher/module.nix

services.data-mesher.settings.host.key_path

A path to an ed22519 private key in PEM format, used for signing information about this host.

Type: path not in the Nix store

Default: "/etc/data-mesher/host.pem"

Declared by: - nix/nixosModules/data-mesher/module.nix

services.data-mesher.settings.host.names

A list of host names to claim

Type: list of string

Declared by: - nix/nixosModules/data-mesher/module.nix

services.data-mesher.settings.http.interface

Interface to listen on for http requests

Type: string

Default: "lo"

Declared by: - nix/nixosModules/data-mesher/module.nix

services.data-mesher.settings.http.port

Port to listen on for http requests

Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default: 7331

Declared by: - nix/nixosModules/data-mesher/module.nix

services.data-mesher.settings.log_level

Log level

Type: one of “fatal”, “error”, “warn”, “info”, “debug”

Default: "info"

Declared by: - nix/nixosModules/data-mesher/module.nix

services.data-mesher.settings.network.id

An ed25519 public key encoded as base64. PEM format is also supported.

Type: string

Example: "azwT+VhTxA+BF73Hwq0uqdXHG8XvHU2BknoVXgmEjww="

Declared by: - nix/nixosModules/data-mesher/module.nix

services.data-mesher.settings.state_dir

Location where Data Mesher will store its state

Type: string

Default: "/var/lib/data-mesher"

Declared by: - nix/nixosModules/data-mesher/module.nix