]> Git — Sourcephile - sourcephile-nix.git/blob - networking/wireguard/wg-intra/hosts.nix
nix: update nixpkgs
[sourcephile-nix.git] / networking / wireguard / wg-intra / hosts.nix
1 {
2 mermet = rec {
3 ipv4 = "192.168.42.1";
4 ips = ["${ipv4}/24"];
5 listenPort = 43642;
6 peersAnnouncing.enable = true;
7 peer = {
8 publicKey = "XbTEP2X71LBTjmdmySdiOpQJ+uIomcXvg1aiQGUtWBI=";
9 allowedIPs = [ "${ipv4}/32" ];
10 endpoint = "80.67.180.129:${toString listenPort}";
11 endpointsUpdater.enable = true;
12 };
13 };
14 losurdo = rec {
15 ipv4 = "192.168.42.2";
16 ips = ["${ipv4}/24"];
17 listenPort = 43643;
18 persistentKeepalive = 5;
19 peer = {
20 publicKey = "xsFFep3k8z0pXgUOz4aryOF8l/KPBSOd4WQA26BkXy0=";
21 allowedIPs = [ "${ipv4}/32" ];
22 };
23 };
24 oignon = rec {
25 ipv4 = "192.168.42.3";
26 ips = ["${ipv4}/24"];
27 #persistentKeepalive = 10;
28 peer = {
29 publicKey = "tE4fzqDrr7BgfOo9tWgGnpu3v0JRDEUZbJnm9e2F/GA=";
30 allowedIPs = [ "${ipv4}/32" ];
31 #persistentKeepalive = 25;
32 #dynamicEndpointRefreshSeconds = 60;
33 };
34 };
35 patate = rec {
36 ipv4 = "192.168.42.4";
37 ips = ["${ipv4}/24"];
38 #persistentKeepalive = 10;
39 peer = {
40 publicKey = "gaEz7nvJTk4h3DGOpeZXSWmYDDrc5xQkuJ28sGrksx4=";
41 allowedIPs = [ "${ipv4}/32" ];
42 #persistentKeepalive = 25;
43 #dynamicEndpointRefreshSeconds = 60;
44 };
45 };
46 }