summaryrefslogtreecommitdiff
path: root/custom/tinc
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-17 19:01:16 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-17 19:01:16 +0200
commit84567b3f579b0e5f62b1693e2b504c91b30375d4 (patch)
tree98206b10d9b738eeba78ccef99b3c7ee441b4dd0 /custom/tinc
parent4741477f682b39e9086483ac1c10aa74750a8755 (diff)
downloadnixos-84567b3f579b0e5f62b1693e2b504c91b30375d4.tar
nixos-84567b3f579b0e5f62b1693e2b504c91b30375d4.tar.gz
nixos-84567b3f579b0e5f62b1693e2b504c91b30375d4.tar.bz2
nixos-84567b3f579b0e5f62b1693e2b504c91b30375d4.tar.xz
nixos-84567b3f579b0e5f62b1693e2b504c91b30375d4.zip
yggdrasil set to switch
Diffstat (limited to 'custom/tinc')
-rw-r--r--custom/tinc/yggdrasil.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/custom/tinc/yggdrasil.nix b/custom/tinc/yggdrasil.nix
index dba81120..b9004f67 100644
--- a/custom/tinc/yggdrasil.nix
+++ b/custom/tinc/yggdrasil.nix
@@ -74,6 +74,7 @@ in {
74 debugLevel = 2; 74 debugLevel = 2;
75 hosts = ( import ./hosts/yggdrasil.nix ); 75 hosts = ( import ./hosts/yggdrasil.nix );
76 extraConfig = '' 76 extraConfig = ''
77 Mode = switch
77 PingTimeout = 30 78 PingTimeout = 30
78 ${optionalString cfg.connect "ConnectTo = ymir"} 79 ${optionalString cfg.connect "ConnectTo = ymir"}
79 ''; 80 '';