{ config , stdenv , nettools , openresolv , connect ? true , ipConf ? {} }: let connectTo = if connect then "" else "ConnectTo = ymir"; in { "yggdrasil" = { name = config.networking.hostName; debugLevel = 2; hosts = ( import ./yggdrasil-hosts.nix ); extraConfig = 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 ${openresolv}/bin/resolvconf -m 0 -a tinc.yggdrasil <