blob: 6772c2a643845af896384de060164f88a3a8bc74 (
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
|
{ ... }:
{
# these are the common peers that will want to access our hosts
# that run the vpn in different parts of the world.
foundation = {
wireguard.server = {
enable = true;
# has to be set by the individual server running the vpn:
# like, for example:
# externalInterface = "eth0";
peers = {
mel = {
key = "vnZoHXapCLLUhZ8A8R5W0iJ8LpWVLve29z41kkoT0BU=";
ip = 2;
};
andrei = {
key = "qqU4uYImLfUohIwl4KBshPtTINFcs0JVALjbmwpfxRg=";
ip = 3;
};
sergo = {
key = "qbZGMNIDZFCJC6SHtlyNIlIdGWHELceXClJCcagrj2Y=";
ip = 4;
};
};
};
};
}
|