18 lines
537 B
Nix
18 lines
537 B
Nix
{ config, lib, ... }:
|
|
{
|
|
imports = [
|
|
../shared.nix
|
|
];
|
|
options.clan.zerotier.moon.stableEndpoints = lib.mkOption {
|
|
type = lib.types.listOf lib.types.str;
|
|
description = ''
|
|
Make this machine a moon.
|
|
Other machines can join this moon by adding this moon in their config.
|
|
It will be reachable under the given stable endpoints.
|
|
'';
|
|
};
|
|
# TODO, we want to remove these options from clanCore
|
|
config.clan.core.networking.zerotier.moon.stableEndpoints =
|
|
config.clan.zerotier.moon.stableEndpoints;
|
|
}
|