@cryptotaxi247 / infra-1 / commits / bbcf9c5f

eris: add to wireguard

Graham Christensen committed Sep 26, 2019 at 03:22 UTC bbcf9c5f0ff2661cd9237cfb143f9f2f30b0efaa
2 files changed +12
delft/eris.nix
+5
@@ -1,6 +1,11 @@
1 { nodes, config, lib, pkgs, ... }:
2
3 {
4 + imports =
5 + [
6 + ../modules/wireguard.nix
7 + ];
8 +
9 deployment.targetEnv = "hetzner";
10 deployment.hetzner.mainIPv4 = "138.201.32.77";
11
modules/wireguard.nix
+7
@@ -27,6 +27,13 @@ let
27 publicKey = "wkUjkjJtJ9yC1xh2pSbTfyuPkeUnvgxGIHFKxVCGJT8=";
28 };
29
30 + eris = {
31 + ip = "10.254.1.4";
32 + endpoint = "138.201.32.77";
33 + port = 51820;
34 + publicKey = "H/Y+sbNETKZugxGFbOS0m5BSr28jRDL19U37wEw07D8=";
35 + };
36 +
37 mac1 = {
38 ip = "10.254.2.1";
39 publicKey = "IiGbZ3l+IYWP/nOjPBhUL0oBh2XJAtUD5DToM9FhTTE=";