network: enable lldp

This commit is contained in:
Rouven Seifert 2024-03-28 23:49:49 +01:00
parent 7e03d4574f
commit 58e9794dff
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09

View file

@ -1,7 +1,4 @@
{ config, lib, ... }:
let
wireguard_port = 51820;
in
{
networking = {
# portunus module does weird things to this, so we force it to some sane values
@ -17,7 +14,6 @@ in
nftables.enable = true;
firewall = {
allowedUDPPorts = [ wireguard_port ];
logRefusedConnections = false;
};
};
@ -43,6 +39,8 @@ in
];
networkConfig = {
DNS = "141.30.1.1";
LLDP = true;
EmitLLDP = "nearest-bridge";
};
};
};