nixos-config/machines/chungus/topology.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

33 lines
633 B
Nix

{ config, ... }:
with config.lib.topology;
{
topology.self = {
interfaces.eth0 = {
network = "home";
};
interfaces.wg0 = {
addresses = [ "10.100.0.2" ];
network = "wg0";
type = "wireguard";
virtual = true;
};
interfaces.ztbn67ogn2 = {
network = "zerotier";
# type = "zerotier";
virtual = true;
};
interfaces."tinc.private" = {
network = "tinc.private";
# type = "tinc";
virtual = true;
};
interfaces."tinc.retiolum" = {
network = "tinc.retiolum";
# type = "tinc";
virtual = true;
};
};
}