From 5a22de5881e363c6f911832fc5e8a64139c17930 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 13 Jan 2022 23:22:55 +0100 Subject: ... --- hosts/vidhar/network/default.nix | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/hosts/vidhar/network/default.nix b/hosts/vidhar/network/default.nix index e3d7dd14..a337ae64 100644 --- a/hosts/vidhar/network/default.nix +++ b/hosts/vidhar/network/default.nix @@ -126,18 +126,20 @@ "wifibh01.lan" = { matchConfig.Name = "wifibh01.lan"; networkConfig.Bridge = "lan"; - bridgeConfig = { - HairPin = true; - Cost = "10"; - }; + extraConfig = '' + [Bridge] + HairPin = true + Cost = 10 + ''; }; "40-eno2.lan" = { matchConfig.Name = "eno2.lan"; networkConfig.Bridge = "lan"; - bridgeConfig = { - HairPin = false; - Cost = "1"; - }; + extraConfig = '' + [Bridge] + HairPin = false + Cost = 1 + ''; }; }; }; -- cgit v1.2.3