services.netbird.clients
Attribute set of NetBird client daemons, by default each one will:
- be manageable using dedicated tooling:
netbird-<name>script,NetBird - netbird-<name>graphical interface when appropriate (seeui.enable),
- run as a
netbird-<name>.service, - listen for incoming remote connections on the port
51820(openFirewallby default), - manage the
netbird-<name>wireguard interface, - use the /var/lib/netbird-
/config.json configuration file, - override /var/lib/netbird-
/config.json with values from /etc/netbird-/config.d/*.json , - (
hardened) be locally manageable bynetbird-<name>system group,
With following caveats:
- multiple daemons will interfere with each other's DNS resolution of
netbird.cloud, but should remain fully operational otherwise. Setting up custom (non-conflicting) DNS zone is currently possible only when self-hosting.
- 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>