From 1796448fea9d67f6b8d8a5b669d7fadc9911e949 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 29 Oct 2017 01:22:40 +0200 Subject: Better tinc scripts --- custom/tinc/yggdrasil.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'custom/tinc') diff --git a/custom/tinc/yggdrasil.nix b/custom/tinc/yggdrasil.nix index 2e5a2442..46d815a3 100644 --- a/custom/tinc/yggdrasil.nix +++ b/custom/tinc/yggdrasil.nix @@ -19,19 +19,21 @@ with stdenv.lib; ${optionalString connect "ConnectTo = ymir"} ''; scripts = { - tinc-up = '' + "hosts/borealis-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 ${optionalString useDNS '' - ${openresolv}/bin/resolvconf -m 0 -a tinc.yggdrasil <