l retiolum: disable localdiscovery on supernodes

This commit is contained in:
lassulus 2022-01-27 17:20:53 +01:00
parent ff7825816f
commit 377ee283e3

View file

@ -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
''}
'';
};