diff --git a/modules/networking.nix b/modules/networking.nix index 16249e7..8e532dc 100644 --- a/modules/networking.nix +++ b/modules/networking.nix @@ -82,13 +82,18 @@ in { wg0 = { ips = [ "10.9.0.1/24" ]; listenPort = 1194; - privateKeyFile = "/home/coace/.wg/keys/privatekey"; + privateKeyFile = "/home/coace/.wg/server/privatekey"; peers = [ - # Amin + # panacea { publicKey = "XMkTztU2Y8hw6Fu/2o4Gszij+EmNacvFMXuZyHS1n38="; allowedIPs = [ "10.9.0.2/32" ]; } + # caravanserai + { + publicKey = "4jiEKaPjNPU3JghfwLyArRhCKZmT8VYN07iw0SL/eHc="; + allowedIPs = [ "10.9.0.3/32" ]; + } ]; }; };