diff options
author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-10-31 16:40:44 +0100 |
---|---|---|
committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-10-31 16:40:44 +0100 |
commit | ed26e52d64421a1a335c7d2487951cbcc17822b8 (patch) | |
tree | cdf8b5fb0ec337bdba0af700348f5e76d716d949 /custom/tinc | |
parent | 29c8187a079153fad961f6a7f808d01689eece1f (diff) | |
download | nixos-ed26e52d64421a1a335c7d2487951cbcc17822b8.tar nixos-ed26e52d64421a1a335c7d2487951cbcc17822b8.tar.gz nixos-ed26e52d64421a1a335c7d2487951cbcc17822b8.tar.bz2 nixos-ed26e52d64421a1a335c7d2487951cbcc17822b8.tar.xz nixos-ed26e52d64421a1a335c7d2487951cbcc17822b8.zip |
maybe fix indentation
Diffstat (limited to 'custom/tinc')
-rw-r--r-- | custom/tinc/yggdrasil.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/custom/tinc/yggdrasil.nix b/custom/tinc/yggdrasil.nix index 53b8b85e..5b6a82fa 100644 --- a/custom/tinc/yggdrasil.nix +++ b/custom/tinc/yggdrasil.nix | |||
@@ -23,9 +23,10 @@ in { | |||
23 | tinc-up = '' | 23 | tinc-up = '' |
24 | #!${stdenv.shell} | 24 | #!${stdenv.shell} |
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 ''${openresolv}/bin/resolvconf -m 0 -a tinc.yggdrasil <<EOF | 26 | ${if useDNS then '' |
27 | domain yggdrasil | 27 | ${openresolv}/bin/resolvconf -m 0 -a tinc.yggdrasil <<EOF |
28 | nameserver 10.141.1.1 | 28 | domain yggdrasil |
29 | nameserver 10.141.1.1 | ||
29 | EOF'' else ""} | 30 | EOF'' else ""} |
30 | ''; | 31 | ''; |
31 | tinc-down = '' | 32 | tinc-down = '' |