summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-01-13 23:22:55 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-01-13 23:22:55 +0100
commit5a22de5881e363c6f911832fc5e8a64139c17930 (patch)
tree9fe7e7a349b7316a04acab354c8ab53cc7c330d3
parentac71bc3f6216a247615ce36c6eddf25365b00a76 (diff)
downloadnixos-5a22de5881e363c6f911832fc5e8a64139c17930.tar
nixos-5a22de5881e363c6f911832fc5e8a64139c17930.tar.gz
nixos-5a22de5881e363c6f911832fc5e8a64139c17930.tar.bz2
nixos-5a22de5881e363c6f911832fc5e8a64139c17930.tar.xz
nixos-5a22de5881e363c6f911832fc5e8a64139c17930.zip
...
-rw-r--r--hosts/vidhar/network/default.nix18
1 files 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 @@
126 "wifibh01.lan" = { 126 "wifibh01.lan" = {
127 matchConfig.Name = "wifibh01.lan"; 127 matchConfig.Name = "wifibh01.lan";
128 networkConfig.Bridge = "lan"; 128 networkConfig.Bridge = "lan";
129 bridgeConfig = { 129 extraConfig = ''
130 HairPin = true; 130 [Bridge]
131 Cost = "10"; 131 HairPin = true
132 }; 132 Cost = 10
133 '';
133 }; 134 };
134 "40-eno2.lan" = { 135 "40-eno2.lan" = {
135 matchConfig.Name = "eno2.lan"; 136 matchConfig.Name = "eno2.lan";
136 networkConfig.Bridge = "lan"; 137 networkConfig.Bridge = "lan";
137 bridgeConfig = { 138 extraConfig = ''
138 HairPin = false; 139 [Bridge]
139 Cost = "1"; 140 HairPin = false
140 }; 141 Cost = 1
142 '';
141 }; 143 };
142 }; 144 };
143 }; 145 };