summaryrefslogtreecommitdiffstats
path: root/lass/2configs/retiolum.nix
diff options
context:
space:
mode:
Diffstat (limited to 'lass/2configs/retiolum.nix')
-rw-r--r--lass/2configs/retiolum.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/lass/2configs/retiolum.nix b/lass/2configs/retiolum.nix
index 2ddfbcf8f..d4d97a889 100644
--- a/lass/2configs/retiolum.nix
+++ b/lass/2configs/retiolum.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, ... }:
+{ config, lib, pkgs, ... }:
{
@@ -22,12 +22,12 @@
];
extraConfig = ''
StrictSubnets = yes
+ ${lib.optionalString (config.krebs.build.host.nets.retiolum.via != null) ''
+ LocalDiscovery = no
+ ''}
'';
};
- # never connect via gum (he eats our packets!)
- krebs.hosts.gum.nets.retiolum.tinc.weight = 9000;
-
nixpkgs.config.packageOverrides = pkgs: {
tinc = pkgs.tinc_pre;
};