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