mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 16:21:34 +01:00
nebula: Change network interface name to nebula
This commit is contained in:
parent
79da1f6644
commit
2703325b4d
2 changed files with 3 additions and 2 deletions
|
|
@ -30,7 +30,7 @@ in
|
|||
message = "'${netCfg.hostname}' is a Nebula lighthouse, but underlay.isPublic is not set. Lighthouses must be publicly reachable.";
|
||||
};
|
||||
|
||||
meta.ports.udp = lib.optional (netCfg.underlay.isPublic) publicPort;
|
||||
meta.ports.udp = lib.optional netCfg.underlay.isPublic publicPort;
|
||||
|
||||
sops.secrets."nebula/host-key" = {
|
||||
owner = config.users.users.nebula-mesh.name;
|
||||
|
|
@ -44,6 +44,7 @@ in
|
|||
cert = cfg.certificatePath;
|
||||
key = config.sops.secrets."nebula/host-key".path;
|
||||
|
||||
tun.device = netCfg.overlay.interface;
|
||||
listen.port = lib.mkIf netCfg.underlay.isPublic publicPort;
|
||||
|
||||
inherit (netCfg) isLighthouse;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue