From 1dcadd6f8ed9a53eae381a3f19b2766a92a3567a Mon Sep 17 00:00:00 2001 From: Danilo Reyes Date: Tue, 1 Oct 2024 17:58:59 -0600 Subject: [PATCH] wireguard access to friends --- modules/services/wireguard.nix | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/modules/services/wireguard.nix b/modules/services/wireguard.nix index b221259..bcc9cfa 100644 --- a/modules/services/wireguard.nix +++ b/modules/services/wireguard.nix @@ -30,9 +30,21 @@ in privateKeyFile = config.sops.secrets."wireguard/private".path; peers = [ { - publicKey = "p9zdJPe4ZfCal6+6N1Vay0sCyFv53LbXevOqzJddE2c="; + publicKey = "ciupBjCcIpd3K5vlzNMJC8iiyNqB9xXwkSC6UXPKP3g="; allowedIPs = [ "10.100.0.2/32" ]; - } + } # phone + # { + # publicKey = "p9zdJPe4ZfCal6+6N1Vay0sCyFv53LbXevOqzJddE2c="; + # allowedIPs = [ "10.100.0.3/32" ]; + # } # tablet + { + publicKey = "TinYhzLh4D+bX7RTwj/Ww3V0JdaTuD114jhgCWCWW1I="; + allowedIPs = [ "10.100.0.15/32" ]; + } # joy + { + publicKey = "92JdW/NExg1tUE4cEyl6Yn+0Eex+iFVA37ahPRhRnRM="; + allowedIPs = [ "10.100.0.16/32" ]; + } # gorilia ]; }; };