plasma
This commit is contained in:
@@ -24,6 +24,9 @@ let
|
||||
isLighthouse = lib.${namespace}.mkBoolOpt false "Act as a Nebula lighthouse";
|
||||
isRelay = lib.${namespace}.mkBoolOpt false "Act as a Nebula relay node";
|
||||
|
||||
# Override the mkModule port default (80) with the nebula default (4242).
|
||||
port = lib.${namespace}.mkOpt types.port 4242 "UDP port nebula listens on";
|
||||
|
||||
# -----------------------------------------------------------------------
|
||||
# Network identity
|
||||
# -----------------------------------------------------------------------
|
||||
@@ -66,13 +69,13 @@ let
|
||||
# -----------------------------------------------------------------------
|
||||
# Peer addressing (ignored on lighthouse nodes)
|
||||
# -----------------------------------------------------------------------
|
||||
lighthouses =
|
||||
lib.${namespace}.mkOpt (types.listOf types.str) [ ]
|
||||
"Nebula overlay IPs of lighthouse nodes (leave empty on lighthouses)";
|
||||
lighthouses = lib.${namespace}.mkOpt (types.listOf types.str) [
|
||||
"10.1.1.1"
|
||||
] "Nebula overlay IPs of lighthouse nodes (leave empty on lighthouses)";
|
||||
|
||||
staticHostMap = lib.${namespace}.mkOpt (types.attrsOf (
|
||||
types.listOf types.str
|
||||
)) { } "Static host map: overlay IP → list of public addr:port strings";
|
||||
staticHostMap = lib.${namespace}.mkOpt (types.attrsOf (types.listOf types.str)) {
|
||||
"10.1.1.1" = [ "mjallen.dev:4242" ];
|
||||
} "Static host map: overlay IP → list of public addr:port strings";
|
||||
|
||||
# -----------------------------------------------------------------------
|
||||
# Firewall rules inside the overlay
|
||||
|
||||
Reference in New Issue
Block a user