{ stdenv , nettools , openresolv , name , connect ? true , ipConf ? {} , useDNS ? true }: let connectTo = if connect then "ConnectTo = ymir" else ""; in { "yggdrasil" = { inherit name; debugLevel = 2; hosts = ( import ./hosts/yggdrasil.nix ); extraConfig = '' PingTimeout = 10 ${connectTo} ''; scripts = { tinc-up = '' #!${stdenv.shell} ${nettools}/bin/route add -net 10.141.1.0 netmask 255.255.255.0 gw 10.141.1.1 dev $INTERFACE metric 9999 ${if useDNS then ''${openresolv}/bin/resolvconf -m 0 -a tinc.yggdrasil <