22 lines
400 B
Nix
22 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;
|
|
};
|
|
};
|
|
}
|