summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--krebs/3modules/tinc.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/3modules/tinc.nix b/krebs/3modules/tinc.nix
index debbb184b..02b3eeb9d 100644
--- a/krebs/3modules/tinc.nix
+++ b/krebs/3modules/tinc.nix
@@ -91,7 +91,7 @@ with lib.slib or (import ../../lib/pure.nix { inherit lib; }); {
hosts = mkOption {
type = with types; attrsOf host;
default =
- filterAttrs (_: h: hasAttr tinc.config.netname h.nets) config.krebs.hosts;
+ filterAttrs (_: h: hasAttr tinc.config.netname h.nets && h.nets.${tinc.config.netname}.tinc.config or null != null) config.krebs.hosts;
defaultText = "‹all-hosts-of-‹netname››";
description = ''
Hosts to generate <literal>config.krebs.tinc.retiolum.hostsPackage</literal>.
[cgit] Unable to lock slot /tmp/cgit/b4300000.lock: No such file or directory (2)