zerotier: improve docs for moons

This commit is contained in:
DavHau
2024-12-02 15:50:25 +07:00
parent 53bd0444fe
commit e6931bf486
2 changed files with 6 additions and 0 deletions

View File

@@ -10,6 +10,9 @@
Other machines can join this moon by adding this moon in their config. Other machines can join this moon by adding this moon in their config.
It will be reachable under the given stable endpoints. It will be reachable under the given stable endpoints.
''; '';
example = ''
[ 1.2.3.4" "10.0.0.3/9993" "2001:abcd:abcd::3/9993" ]
'';
}; };
# TODO, we want to remove these options from clanCore # TODO, we want to remove these options from clanCore
config.clan.core.networking.zerotier.moon.stableEndpoints = config.clan.core.networking.zerotier.moon.stableEndpoints =

View File

@@ -38,6 +38,9 @@ in
Other machines can join this moon by adding this moon in their config. Other machines can join this moon by adding this moon in their config.
It will be reachable under the given stable endpoints. It will be reachable under the given stable endpoints.
''; '';
example = ''
[ 1.2.3.4" "10.0.0.3/9993" "2001:abcd:abcd::3/9993" ]
'';
}; };
orbitMoons = lib.mkOption { orbitMoons = lib.mkOption {
type = lib.types.listOf lib.types.str; type = lib.types.listOf lib.types.str;