summaryrefslogtreecommitdiffstats
path: root/krebs/3modules
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-11-10 23:00:04 +0100
committertv <tv@krebsco.de>2016-11-10 23:00:04 +0100
commit941fb77ae550beda1af873536f80ac2180a6afa9 (patch)
tree5baa32dea6a0b1d7901c2b47fafdc2fbd767df4d /krebs/3modules
parent916487575ad9da6cdefa41e3ee4e8989ef2080a0 (diff)
krebs.tinc.retiolum: update connectTo default
Diffstat (limited to 'krebs/3modules')
-rw-r--r--krebs/3modules/retiolum.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/krebs/3modules/retiolum.nix b/krebs/3modules/retiolum.nix
index ed99cc551..0a3d7ed2f 100644
--- a/krebs/3modules/retiolum.nix
+++ b/krebs/3modules/retiolum.nix
@@ -134,7 +134,11 @@ let
connectTo = mkOption {
type = types.listOf types.str;
- default = [ "fastpoke" "cd" "prism" "gum" ];
+ ${if tinc.config.netname == "retiolum" then "default" else null} = [
+ "gum"
+ "ni"
+ "prism"
+ ];
description = ''
The list of hosts in the network which the client will try to connect
to. These hosts should have an 'Address' configured which points to a