Merge pull request 'zerotier: improve docs for moons' (#2534) from DavHau/clan-core:DavHau-docs into main

This commit is contained in:
clan-bot
2024-12-02 08:57:10 +00:00
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;