summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-02-01 13:52:21 +0100
committerlassulus <lassulus@lassul.us>2022-02-01 13:52:21 +0100
commitbe042e3446905e2517b530403bacc63b6de49d34 (patch)
tree6210e920481f5156a72557817126a0605c7293fc
parentaf2faf380358fca09ee429690875c89eb965ea82 (diff)
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.
-rw-r--r--krebs/3modules/makefu/default.nix3
-rw-r--r--lass/2configs/retiolum.nix3
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;
};