From 74c574a8dbcafc4d7a1b7eb89d36442f0f21652f Mon Sep 17 00:00:00 2001 From: DavHau Date: Tue, 8 Aug 2023 11:30:12 +0200 Subject: [PATCH] nixos/zerotierone: document networks never left automatically Removing a network from the joinNetworks list does not make the machine leave the network which is confusing. This behavior is now clarified via the options description --- nixos/modules/services/networking/zerotierone.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/zerotierone.nix b/nixos/modules/services/networking/zerotierone.nix index 0d9e25cfc52c..f78fd8642ba0 100644 --- a/nixos/modules/services/networking/zerotierone.nix +++ b/nixos/modules/services/networking/zerotierone.nix @@ -13,7 +13,9 @@ in example = [ "a8a2c3c10c1a68de" ]; type = types.listOf types.str; description = lib.mdDoc '' - List of ZeroTier Network IDs to join on startup + List of ZeroTier Network IDs to join on startup. + Note that networks are only ever joined, but not automatically left after removing them from the list. + To remove networks, use the ZeroTier CLI: `zerotier-cli leave ` ''; };