MyNixOS website logo
option

services.netbird.tunnels.<name>.environment

Environment for the netbird service, used to pass configuration options.

Declarations
Type
attribute set of string
Default
{
  NB_CONFIG = "/var/lib/${stateDir}/config.json";
  NB_LOG_FILE = "console";
  NB_WIREGUARD_PORT = builtins.toString port;
  NB_INTERFACE_NAME = name;
  NB_DAMEON_ADDR = "/var/run/${stateDir}"
}