From be042e3446905e2517b530403bacc63b6de49d34 Mon Sep 17 00:00:00 2001 From: lassulus Date: Tue, 1 Feb 2022 13:52:21 +0100 Subject: [PATCH] gum.r: set weight to over 9000 we do this so we never route via gum, which tends to eat our packets and makes it impossible to connect to other peers via gum. --- krebs/3modules/makefu/default.nix | 3 +++ lass/2configs/retiolum.nix | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/krebs/3modules/makefu/default.nix b/krebs/3modules/makefu/default.nix index b3c09db78..f87802b45 100644 --- a/krebs/3modules/makefu/default.nix +++ b/krebs/3modules/makefu/default.nix @@ -219,6 +219,9 @@ in { retiolum = { via = internet; ip4.addr = "10.243.0.213"; + # never connect via gum (he eats your packets!) + tinc.weight = 9001; + aliases = [ "gum.r" "backup.makefu.r" diff --git a/lass/2configs/retiolum.nix b/lass/2configs/retiolum.nix index a305d3e18..d4d97a889 100644 --- a/lass/2configs/retiolum.nix +++ b/lass/2configs/retiolum.nix @@ -28,9 +28,6 @@ ''; }; - # never connect via gum (he eats our packets!) - krebs.hosts.gum.nets.retiolum.tinc.weight = 9000; - nixpkgs.config.packageOverrides = pkgs: { tinc = pkgs.tinc_pre; };