From 2f3c3ccc236cc25f382d033a74b7b94c22add065 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 4 Nov 2015 13:48:49 +0100 Subject: syntax poking --- custom/tinc/yggdrasil.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/custom/tinc/yggdrasil.nix b/custom/tinc/yggdrasil.nix index 4191d2c4..d3569df4 100644 --- a/custom/tinc/yggdrasil.nix +++ b/custom/tinc/yggdrasil.nix @@ -1,7 +1,7 @@ -{ stdenv +{ config +, stdenv , nettools , openresolv -, name , connect ? true , ipConf ? {} }: @@ -11,7 +11,7 @@ let connectTo = if connect then "" else "ConnectTo = ymir"; in { "yggdrasil" = { - inherit name; + name = config.networking.hostName; debugLevel = 2; hosts = ( import ./yggdrasil-hosts.nix ); extraConfig = connectTo; -- cgit v1.2.3