From 58e9794dff6b75ca05a6138e9fb0724d242849f4 Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Thu, 28 Mar 2024 23:49:49 +0100 Subject: [PATCH] network: enable lldp --- hosts/quitte/network.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/hosts/quitte/network.nix b/hosts/quitte/network.nix index 03fba0e..7ec034d 100644 --- a/hosts/quitte/network.nix +++ b/hosts/quitte/network.nix @@ -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"; }; }; };