mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 16:21:34 +01:00
Create networking abstraction
This commit is contained in:
parent
6804112df6
commit
9bbd0c3e89
15 changed files with 221 additions and 165 deletions
|
|
@ -16,6 +16,15 @@
|
|||
custom = {
|
||||
persistence.enable = true;
|
||||
|
||||
networking = {
|
||||
overlay.address = "10.254.250.4";
|
||||
underlay = {
|
||||
address = "167.235.73.246";
|
||||
isPublic = true;
|
||||
};
|
||||
isServer = true;
|
||||
};
|
||||
|
||||
sops.enable = true;
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
|
|
@ -26,12 +35,8 @@
|
|||
onlyCleanRoots = true;
|
||||
};
|
||||
|
||||
nebula.node = {
|
||||
enable = true;
|
||||
address = "10.254.250.4";
|
||||
routableAddress = "167.235.73.246";
|
||||
isServer = true;
|
||||
};
|
||||
nebula.node.enable = true;
|
||||
sshd.enable = true;
|
||||
|
||||
crowdsec = {
|
||||
enable = true;
|
||||
|
|
@ -76,7 +81,7 @@
|
|||
|
||||
alloy = {
|
||||
enable = true;
|
||||
domain = "alloy.${config.networking.hostName}.${config.custom.services.nebula.network.domain}";
|
||||
domain = "alloy.${config.networking.hostName}.${config.custom.networking.overlay.domain}";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue