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" ]; + } ]; }; };