Ingolf Wagner
1564bd8d72
All checks were successful
Build all NixOS Configurations / nix build (push) Successful in 12m0s
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;
|
|
};
|
|
|
|
};
|
|
}
|