From eba59ad69607c8132317b986fed2403502dc646f Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 4 Nov 2015 13:51:56 +0100 Subject: structure poking --- custom/tinc/yggdrasil.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'custom/tinc/yggdrasil.nix') 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 @@ -{ config -, stdenv +{ stdenv , nettools , openresolv +, name , connect ? true , ipConf ? {} -, ... }: @@ -12,7 +11,7 @@ let connectTo = if connect then "" else "ConnectTo = ymir"; in { "yggdrasil" = { - name = config.networking.hostName; + inherit name; debugLevel = 2; hosts = ( import ./yggdrasil-hosts.nix ); extraConfig = connectTo; -- cgit v1.2.3