summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
Diffstat (limited to 'custom')
-rw-r--r--custom/tinc/yggdrasil.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/custom/tinc/yggdrasil.nix b/custom/tinc/yggdrasil.nix
index f6aa00b8..4191d2c4 100644
--- a/custom/tinc/yggdrasil.nix
+++ b/custom/tinc/yggdrasil.nix
@@ -1,6 +1,7 @@
1{ stdenv 1{ stdenv
2, nettools 2, nettools
3, openresolv 3, openresolv
4, name
4, connect ? true 5, connect ? true
5, ipConf ? {} 6, ipConf ? {}
6}: 7}:
@@ -10,7 +11,7 @@ let
10 connectTo = if connect then "" else "ConnectTo = ymir"; 11 connectTo = if connect then "" else "ConnectTo = ymir";
11in { 12in {
12 "yggdrasil" = { 13 "yggdrasil" = {
13 name = name; 14 inherit name;
14 debugLevel = 2; 15 debugLevel = 2;
15 hosts = ( import ./yggdrasil-hosts.nix ); 16 hosts = ( import ./yggdrasil-hosts.nix );
16 extraConfig = connectTo; 17 extraConfig = connectTo;