1
0
vcp-bula-nixfiles/hosts/router/10-net-services.nix

20 lines
477 B
Nix
Raw Normal View History

2022-07-12 20:33:17 +02:00
{ config, pkgs, ...}:
{
2022-07-13 22:05:55 +02:00
networking.vlans."net-services" = {
id = 10;
interface = "ens18";
};
2022-07-12 20:33:17 +02:00
2022-07-13 22:05:55 +02:00
networking.interfaces.net-services.ipv4.addresses = [
{ address = "10.42.10.2"; prefixLength = 24; }
];
networking.interfaces.net-services.ipv6.addresses = [
{ address = "2a01:4f8:1c0c:8221::2"; prefixLength = 64; }
];
# Everyone is allowed reaching this, no firewall therefore
2022-07-15 01:16:51 +02:00
clerie.uplink-selector.interfaces.net-services.uplink = "uplink-a";
2022-07-12 20:33:17 +02:00
}