From d794bf88f0453f7ad96c5a93fd7b437370864ee0 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Fri, 28 Jul 2023 18:07:17 +0300 Subject: [PATCH] host/canigou: add more peers --- nixos/hosts/canigou/services/wireguard.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/nixos/hosts/canigou/services/wireguard.nix b/nixos/hosts/canigou/services/wireguard.nix index 5743be1..77c5f7b 100644 --- a/nixos/hosts/canigou/services/wireguard.nix +++ b/nixos/hosts/canigou/services/wireguard.nix @@ -1,5 +1,7 @@ { config, pkgs, ... }: +# Source: https://habr.com/ru/companies/xakep/articles/699000/ + let istalData = import ../../istal/data.secret.nix; @@ -70,6 +72,16 @@ in publicKey = "mzVH0N3q7UE/XjMwgRks+D8KFuIj91VkOK2ytgjsnkw="; allowedIPs = [ "10.20.30.4/32" ]; } + # Phone 1 + { + publicKey = "KRgGzoFk8UjZ1wUWXkt53wI7sJfdP/QaoVY3Xnh13Ws="; + allowedIPs = [ "10.20.30.5/32" ]; + } + # Phone 2 + { + publicKey = "EtnHCU478Ne7dtIctq4yFUNjHGXB7SIQEs2g82VzmBc="; + allowedIPs = [ "10.20.30.6/32" ]; + } ]; }; };