services.netbird.clients

Attribute set of NetBird client daemons, by default each one will:

  1. be manageable using dedicated tooling:
  1. run as a netbird-<name>.service,
  2. listen for incoming remote connections on the port 51820 (openFirewall by default),
  3. manage the netbird-<name> wireguard interface,
  4. use the /var/lib/netbird-/config.json configuration file,
  5. override /var/lib/netbird-/config.json with values from /etc/netbird-/config.d/*.json,
  6. (hardened) be locally manageable by netbird-<name> system group,

With following caveats:

Type
attribute set of (submodule)
Default
{ }
Example
{
  services.netbird.clients.wt0.port = 51820;
  services.netbird.clients.personal.port = 51821;
  services.netbird.clients.work1.port = 51822;
}
Declared
<nixpkgs/nixos/modules/services/networking/netbird.nix>