nixos-config/machines/cherry/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

26 lines
461 B
Nix

{ config, ... }:
with config.lib.topology;
{
topology.self = {
interfaces.wifi = {
network = "home";
};
interfaces.wg0 = {
network = "wg0";
type = "wireguard";
virtual = true;
};
interfaces.ztbn67ogn2 = {
network = "zerotier";
type = "ethernet";
virtual = true;
};
interfaces."tinc.private" = {
network = "tinc.private";
type = "ethernet";
virtual = true;
};
};
}