From 377ee283e3227ebf80b5340f5e0ad5274b20dfa0 Mon Sep 17 00:00:00 2001 From: lassulus Date: Thu, 27 Jan 2022 17:20:53 +0100 Subject: l retiolum: disable localdiscovery on supernodes --- lass/2configs/retiolum.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lass') diff --git a/lass/2configs/retiolum.nix b/lass/2configs/retiolum.nix index 2ddfbcf8f..a305d3e18 100644 --- a/lass/2configs/retiolum.nix +++ b/lass/2configs/retiolum.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ config, lib, pkgs, ... }: { @@ -22,6 +22,9 @@ ]; extraConfig = '' StrictSubnets = yes + ${lib.optionalString (config.krebs.build.host.nets.retiolum.via != null) '' + LocalDiscovery = no + ''} ''; }; -- cgit v1.2.3