summaryrefslogtreecommitdiff
path: root/hosts/sif/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/sif/default.nix')
-rw-r--r--hosts/sif/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/hosts/sif/default.nix b/hosts/sif/default.nix
index e71ee4ec..a2eca749 100644
--- a/hosts/sif/default.nix
+++ b/hosts/sif/default.nix
@@ -182,6 +182,7 @@ in {
182 netdevConfig = { 182 netdevConfig = {
183 Name = "wgrz"; 183 Name = "wgrz";
184 Kind = "wireguard"; 184 Kind = "wireguard";
185 MTUBytes = "1538";
185 }; 186 };
186 wireguardConfig = { 187 wireguardConfig = {
187 PrivateKeyFile = "/run/credentials/systemd-networkd.service/wgrz.priv"; 188 PrivateKeyFile = "/run/credentials/systemd-networkd.service/wgrz.priv";
@@ -203,6 +204,24 @@ in {
203 MACAddress = "52:54:00:18:85:5b"; 204 MACAddress = "52:54:00:18:85:5b";
204 }; 205 };
205 }; 206 };
207 gre-0971 = {
208 netdevConfig = {
209 Name = "gre-0971";
210 Kind = "bridge";
211 MTUBytes = "1500";
212 };
213 };
214 gre-0971-1 = {
215 netdevConfig = {
216 Name = "gre-0971-1";
217 Kind = "gretap";
218 MTUBytes = "1500";
219 };
220 tunnelConfig = {
221 Local = "10.116.200.128";
222 Remote = "10.116.200.1";
223 };
224 };
206 }; 225 };
207 networks = { 226 networks = {
208 wgrz = { 227 wgrz = {
@@ -246,6 +265,7 @@ in {
246 LLMNR = false; 265 LLMNR = false;
247 MulticastDNS = false; 266 MulticastDNS = false;
248 DNS = ["10.153.88.9" "129.187.111.202" "10.156.33.53"]; 267 DNS = ["10.153.88.9" "129.187.111.202" "10.156.33.53"];
268 Tunnel = "gre-0971-1";
249 }; 269 };
250 }; 270 };
251 virbr0 = { 271 virbr0 = {