Files
clan-core/clanModules/zerotier/roles/moon.nix
2024-11-08 14:10:23 +00:00

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;
}