nixos-config/machines/cherry/topology.nix
Ingolf Wagner 1564bd8d72
All checks were successful
Build all NixOS Configurations / nix build (push) Successful in 12m0s
🔧 add some topology information
2024-08-30 17:34:57 +07:00

23 lines
400 B
Nix

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