zerotier: Simplify endpoint configuration for moons
This commit is contained in:
@@ -37,7 +37,7 @@
|
|||||||
interface =
|
interface =
|
||||||
{ lib, ... }:
|
{ lib, ... }:
|
||||||
{
|
{
|
||||||
options.zerotier.moon.stableEndpoints = lib.mkOption {
|
options.stableEndpoints = lib.mkOption {
|
||||||
type = lib.types.listOf lib.types.str;
|
type = lib.types.listOf lib.types.str;
|
||||||
description = ''
|
description = ''
|
||||||
Make this machine a moon.
|
Make this machine a moon.
|
||||||
@@ -66,7 +66,7 @@
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
config.clan.core.networking.zerotier.moon.stableEndpoints = settings.zerotier.moon.stableEndpoints;
|
config.clan.core.networking.zerotier.moon.stableEndpoints = settings.stableEndpoints;
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
(import ./shared.nix {
|
(import ./shared.nix {
|
||||||
|
|||||||
Reference in New Issue
Block a user