summaryrefslogtreecommitdiff
path: root/Com/Simatime/vpnHosts.nix
blob: 1a66e9254a6e6a985ffd89f270492b2b3b48ec9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
let
  mkVpnPeer = { address, subnet, ed25519PublicKey, rsaPublicKey }: ''
    Address = ${address}
    Subnet = ${subnet}
    Ed25519PublicKey = ${ed25519PublicKey}
    ${rsaPublicKey}
  '';
in {
  "com.simatime" = mkVpnPeer {
    address = "159.89.128.69";
    subnet = "10.1.1.25";
    ed25519PublicKey = "TODO";
    rsaPublicKey = ''
      TODO
    '';
  };
  "com.simatime.dev" = mkVpnPeer {
    address = "69.181.254.154";
    subnet = "10.1.1.21";
    ed25519PublicKey = "s5/rbuM7WaYqaZH0BP4/mYefrl3uWfaT+Ew4gmSsh8F";
    rsaPublicKey = ''
      -----BEGIN RSA PUBLIC KEY-----
      MIICCgKCAgEAydQHK4jUQnp4ZSqIB/fjfLxILqy/IHR6DPiUp/HustFDOaLKSVM8
      75fVtBybiEkUmXLU3Bg8WX9zR+llTf3za1B13w+uJpcR4FS/LhAN/wgHCdgHUb4W
      D7YZzGUnLhPAu3Ivnu5QZ6vzigqtbPCIFfwGDW2RGjq3iJMag1sM/xBOZrSn+zsZ
      azCEP/snY30UE5ggrxJSMpZXSpS9u266nTblo8gTwfjdzrC93gmNNIxdHpeYGb0O
      VGdaMmExq5Ny4flG2qtWA0u8nDscg7bEVIYfPjZr1G2FT5A0Ma4kteu6TeYpQEd9
      0if3lRb48iMwh1VBfXBps9Heexz0HjG6EAku2B1mEL5orjmC3jJK0DpuXnwVN5pz
      B+UrFnqbFykeHxZD5RdAB1tcuHZlJ/mQyZRQMJtkifFLdj4iBBK+si05GpodGhIz
      iXkMYRIOja9/4EyukDdU2i2yEOmgif6DhIh4awss1b2Crtxs2bg6/xi2Hy63IQEy
      u8LxuiPGA69NsaFZz49SXXJw11KQt5g7WE0jweYXmT3VO6yZlktGdJjzXyhaw7ma
      G9VgHvxh+K/mDZ2SXwDcINzwYwZxxqcxcmA4o8glCKQyVHIT5hlo7QkSzK4P+GgN
      Js+sRDreM6Rha2zcOaJWZ5IO2Xva6AZZ29oO5m4V/CYPCuMAzXwV2GMCAwEAAQ==
      -----END RSA PUBLIC KEY-----
    '';
  };
}