nixos-config/nix/topology/networks.nix
Ingolf Wagner 8da0bbc3ef
All checks were successful
Build all NixOS Configurations / nix build (push) Successful in 19m3s
🔧 add some topology information
2024-08-31 08:33:28 +07:00

28 lines
421 B
Nix

{ config, ... }:
with config.lib.topology;
{
nodes.internet = mkInternet {
#connections = mkConnection "orbi" "eth0";
};
networks.zerotier = {
name = "clan network";
};
networks.wg0 = {
name = "wg0";
cidrv4 = "10.100.0.0/24";
};
networks."tinc.private" = {
name = "tinc private";
cidrv4 = "10.23.42.0/24";
};
networks."tinc.retiolum" = {
name = "tinc retiolum";
};
}