Would it be possible to add a NixOS option to set the ZeroTier identity? Currently the ZeroTier identity is generated at first run.
From Section 2.1.2 in the ZeroTier manual (https://www.zerotier.com/manual.shtml):
Every node is uniquely identified on VL1 by a 40-bit (10 hex digit) ZeroTier address.
This address is computed from the public portion of a public/private key pair. A node’s address, public key, and private key together form its identity.
On devices running ZeroTier One the node identity is stored in
identity.secretin the service’s home directory.
When ZeroTier starts for the first time it generates a new identity. It then attempts to advertise it upstream to the network. In the very unlikely event that the identity’s 40-bit unique address is taken, it discards it and generates another."