mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
Create networking abstraction on top of nebula
This commit is contained in:
parent
6804112df6
commit
252abe9443
15 changed files with 223 additions and 165 deletions
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
custom =
|
||||
let
|
||||
privateDomain = config.custom.services.nebula.network.domain;
|
||||
privateDomain = config.custom.networking.overlay.domain;
|
||||
in
|
||||
{
|
||||
persistence.enable = true;
|
||||
|
|
@ -24,20 +24,26 @@
|
|||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
|
||||
networking = {
|
||||
overlay.address = "10.254.250.2";
|
||||
underlay = {
|
||||
interface = "enp1s0";
|
||||
address = "49.13.231.235";
|
||||
isPublic = true;
|
||||
};
|
||||
isLighthouse = true;
|
||||
isServer = true;
|
||||
};
|
||||
|
||||
services = {
|
||||
gc = {
|
||||
enable = true;
|
||||
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue