1
0
vcp-bula-nixfiles/hosts/router/42-net-management.nix

13 lines
225 B
Nix

{ config, pkgs, ...}:
{
networking.vlans."net-management" = {
id = 42;
interface = "ens18";
};
networking.interfaces.net-management.ipv4.addresses = [
{ address = "10.42.42.1"; prefixLength = 24; }
];
}