ZeroTier One: Difference between revisions

From NixOS Wiki
m Added categories Applications & Networking
Documented joinNetworks not automatically leaving networks
Line 8: Line 8:
   ];
   ];
};
};
</syntaxhighlight>
</syntaxhighlight>'''NOTE:''' this configuration will automatically <u>join</u> networks, but will ''not'' automatically <u>leave</u> networks. This still has to be done manually: see [https://search.nixos.org/options?show=services.zerotierone.joinNetworks&query=services.zerotierone search.nixos.org].
 
[[Category:Applications]]
[[Category:Applications]]
[[Category:Networking]]
[[Category:Networking]]

Revision as of 15:15, 25 June 2024

Example config

services.zerotierone = {
  enable = true;
  joinNetworks = [
    "6465f4ee45356976"
    "71e441cc137b93c8"
  ];
};

NOTE: this configuration will automatically join networks, but will not automatically leave networks. This still has to be done manually: see search.nixos.org.