diff options
| -rw-r--r-- | custom/tinc/yggdrasil.nix | 2 | ||||
| -rw-r--r-- | ymir.nix | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/custom/tinc/yggdrasil.nix b/custom/tinc/yggdrasil.nix index d0492793..dba81120 100644 --- a/custom/tinc/yggdrasil.nix +++ b/custom/tinc/yggdrasil.nix | |||
| @@ -74,7 +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 | PingTimeout = 10 | 77 | PingTimeout = 30 |
| 78 | ${optionalString cfg.connect "ConnectTo = ymir"} | 78 | ${optionalString cfg.connect "ConnectTo = ymir"} |
| 79 | ''; | 79 | ''; |
| 80 | scripts = { | 80 | scripts = { |
| @@ -319,14 +319,14 @@ in rec { | |||
| 319 | }; | 319 | }; |
| 320 | 320 | ||
| 321 | services.customTinc.networks = ((import ./custom/tinc/laeradhr.nix) { | 321 | services.customTinc.networks = ((import ./custom/tinc/laeradhr.nix) { |
| 322 | inherit (pkgs) stdenv nettools openresolv; | 322 | inherit (pkgs) stdenv nettools openresolv; |
| 323 | name = "ymir"; | 323 | name = "ymir"; |
| 324 | connect = false; | 324 | connect = false; |
| 325 | useDNS = false; | 325 | useDNS = false; |
| 326 | ipConf = { | 326 | ipConf = { |
| 327 | ip4 = [ { address = "10.142.0.3"; prefixLength = 16; } ]; | 327 | ip4 = [ { address = "10.142.0.3"; prefixLength = 16; } ]; |
| 328 | }; | 328 | }; |
| 329 | }); | 329 | }); |
| 330 | 330 | ||
| 331 | users.extraUsers."nginx".extraGroups = ["uwsgi"]; | 331 | users.extraUsers."nginx".extraGroups = ["uwsgi"]; |
| 332 | 332 | ||
