29 lines
553 B
Nix
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;
|
||
|
};
|
||
|
|
||
|
};
|
||
|
}
|