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

29 lines
553 B
Nix

{ config, ... }:
with config.lib.topology;
{
topology.self = {
# interfaces.enp0s31f6 = {
# network = "home"; # internet
# type = "ethernet";
# };
interfaces.wg0 = {
addresses = [ "10.100.0.1" ];
network = "wg0";
type = "ethernet";
virtual = true;
};
interfaces.ztbn67ogn2 = {
network = "wg0";
type = "ethernet";
virtual = true;
};
interfaces."tinc.private" = {
network = "tinc.private";
type = "ethernet";
virtual = true;
};
};
}