summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--krebs/3modules/tinc.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/krebs/3modules/tinc.nix b/krebs/3modules/tinc.nix
index f6727e4d4..7154ecdc3 100644
--- a/krebs/3modules/tinc.nix
+++ b/krebs/3modules/tinc.nix
@@ -128,9 +128,9 @@ with import <stockholm/lib>;
default =
pkgs.write "${tinc.config.netname}-tinc-hosts"
(mapAttrs'
- (_: host: (nameValuePair "/${host.name}" {
+ (_: host: nameValuePair "/${host.name}" {
text = host.nets.${tinc.config.netname}.tinc.config;
- }))
+ })
tinc.config.hosts);
defaultText = "‹netname›-tinc-hosts";
description = ''