diff options
Diffstat (limited to 'modules/yggdrasil-wg/default.nix')
-rw-r--r-- | modules/yggdrasil-wg/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/yggdrasil-wg/default.nix b/modules/yggdrasil-wg/default.nix index 1e253dc1..1fd7092c 100644 --- a/modules/yggdrasil-wg/default.nix +++ b/modules/yggdrasil-wg/default.nix | |||
@@ -14,11 +14,18 @@ let | |||
14 | persistentKeepalive = 25; | 14 | persistentKeepalive = 25; |
15 | dynamicEndpointRefreshSeconds = 86400; | 15 | dynamicEndpointRefreshSeconds = 86400; |
16 | } | 16 | } |
17 | { from = "sif"; | ||
18 | to = "surtr"; | ||
19 | endpointHost = "surtr.yggdrasil.li"; | ||
20 | persistentKeepalive = 25; | ||
21 | dynamicEndpointRefreshSeconds = 86400; | ||
22 | } | ||
17 | ]; | 23 | ]; |
18 | hostLength = subnetLength + 16; | 24 | hostLength = subnetLength + 16; |
19 | hostIPs = { | 25 | hostIPs = { |
20 | surtr = ["${subnet}::/${toString hostLength}"]; | 26 | surtr = ["${subnet}::/${toString hostLength}"]; |
21 | vidhar = ["${subnet}:1::/${toString hostLength}"]; | 27 | vidhar = ["${subnet}:1::/${toString hostLength}"]; |
28 | sif = ["${subnet}:2::/${toString hostLength}"]; | ||
22 | }; | 29 | }; |
23 | 30 | ||
24 | mkPublicKeyPath = host: ./hosts + "/${host}.pub"; | 31 | mkPublicKeyPath = host: ./hosts + "/${host}.pub"; |