Create networking abstraction

This commit is contained in:
SebastianStork 2026-01-11 18:24:11 +01:00
parent 6804112df6
commit 9bbd0c3e89
Signed by: SebastianStork
SSH key fingerprint: SHA256:tRrGdjYOwgHxpSc/wTOZQZEjxcb15P0tyXRsbAfd+2Q
15 changed files with 221 additions and 165 deletions

View file

@ -15,9 +15,19 @@
custom =
let
privateDomain = config.custom.services.nebula.network.domain;
privateDomain = config.custom.networking.overlay.domain;
in
{
networking = {
overlay.address = "10.254.250.2";
underlay = {
address = "49.13.231.235";
isPublic = true;
};
isServer = true;
isLighthouse = true;
};
persistence.enable = true;
sops.enable = true;
@ -30,14 +40,9 @@
onlyCleanRoots = true;
};
nebula.node = {
enable = true;
address = "10.254.250.2";
routableAddress = "49.13.231.235";
isLighthouse = true;
isServer = true;
dns.enable = true;
};
nebula.node.enable = true;
sshd.enable = true;
dns.enable = true;
syncthing = {
enable = true;