tvl-depot/users/tazjin/nixos/modules/zerotier.nix
Vincent Ambo 2b75ee689d refactor(users/tazjin): Extract non-home persistence config
This will be reused between machines.

Change-Id: Ice7835ce7e63b00284e046606309e882412cda26
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5547
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
2022-05-10 13:41:33 +00:00

12 lines
239 B
Nix

# Configuration for my Zerotier network.
{
environment.persistence."/persist".directories = [
"/var/lib/zerotier-one"
];
services.zerotierone.enable = true;
services.zerotierone.joinNetworks = [
"35c192ce9bd4c8c7"
];
}