1
0
vcp-bula-nixfiles/hosts/router/net-services.nix
2022-07-12 20:33:17 +02:00

16 lines
364 B
Nix

{ config, pkgs, ...}:
{
networking.vlans."net-services" = {
id = 10;
interface = "ens18";
};
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; }
];
}