diff options
author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-10-31 16:49:18 +0100 |
---|---|---|
committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-10-31 16:49:18 +0100 |
commit | 82bd2519b518fbbe94d7f4629f7199f3a0e130b9 (patch) | |
tree | f141db0cafc65a3e072619ff19972a9b85adb382 /custom/tinc | |
parent | ed26e52d64421a1a335c7d2487951cbcc17822b8 (diff) | |
download | nixos-82bd2519b518fbbe94d7f4629f7199f3a0e130b9.tar nixos-82bd2519b518fbbe94d7f4629f7199f3a0e130b9.tar.gz nixos-82bd2519b518fbbe94d7f4629f7199f3a0e130b9.tar.bz2 nixos-82bd2519b518fbbe94d7f4629f7199f3a0e130b9.tar.xz nixos-82bd2519b518fbbe94d7f4629f7199f3a0e130b9.zip |
resolvconf might complain
Diffstat (limited to 'custom/tinc')
-rw-r--r-- | custom/tinc/yggdrasil.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/custom/tinc/yggdrasil.nix b/custom/tinc/yggdrasil.nix index 5b6a82fa..23f94a64 100644 --- a/custom/tinc/yggdrasil.nix +++ b/custom/tinc/yggdrasil.nix | |||
@@ -25,8 +25,8 @@ in { | |||
25 | ${nettools}/bin/route add -net 10.141.1.0 netmask 255.255.255.0 gw 10.141.1.1 dev $INTERFACE metric 9999 | 25 | ${nettools}/bin/route add -net 10.141.1.0 netmask 255.255.255.0 gw 10.141.1.1 dev $INTERFACE metric 9999 |
26 | ${if useDNS then '' | 26 | ${if useDNS then '' |
27 | ${openresolv}/bin/resolvconf -m 0 -a tinc.yggdrasil <<EOF | 27 | ${openresolv}/bin/resolvconf -m 0 -a tinc.yggdrasil <<EOF |
28 | domain yggdrasil | 28 | domain yggdrasil |
29 | nameserver 10.141.1.1 | 29 | nameserver 10.141.1.1 |
30 | EOF'' else ""} | 30 | EOF'' else ""} |
31 | ''; | 31 | ''; |
32 | tinc-down = '' | 32 | tinc-down = '' |