forked from DGNum/lab-infra
19 lines
427 B
Nix
19 lines
427 B
Nix
|
{
|
||
|
systemd.network = {
|
||
|
networks = {
|
||
|
"10-ens18" = {
|
||
|
name = "ens18";
|
||
|
|
||
|
networkConfig = {
|
||
|
Description = "ENS uplink";
|
||
|
Address = [ "129.199.146.34/24" ];
|
||
|
Gateway = "129.199.146.254";
|
||
|
LLDP = true;
|
||
|
# Only to the switch we are connected to directly, e.g. the hypervisor or the switch.
|
||
|
EmitLLDP = "nearest-bridge";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|