diff options
author | lassulus <lassulus@lassul.us> | 2022-01-27 17:20:53 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2022-01-27 17:20:53 +0100 |
commit | 377ee283e3227ebf80b5340f5e0ad5274b20dfa0 (patch) | |
tree | 9e780f98c55ba4a49d5a2a868499340779106ec5 /lass/2configs | |
parent | ff7825816ff69340effb54de1a9ee8822b9baf9b (diff) |
l retiolum: disable localdiscovery on supernodes
Diffstat (limited to 'lass/2configs')
-rw-r--r-- | lass/2configs/retiolum.nix | 5 |
1 files changed, 4 insertions, 1 deletions
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 + ''} ''; }; |