From 15ab5192b77013275edea539c162f4b5c398e9fe Mon Sep 17 00:00:00 2001 From: teutat3s Date: Sun, 7 Apr 2024 21:34:20 +0200 Subject: [PATCH] ryzensun: add pub.solar wireguard to networking --- hosts/ryzensun/networking.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/hosts/ryzensun/networking.nix b/hosts/ryzensun/networking.nix index 7bd9a7dd..cf3e5030 100644 --- a/hosts/ryzensun/networking.nix +++ b/hosts/ryzensun/networking.nix @@ -53,6 +53,25 @@ } ]; }; + wg2 = { + address = ["10.7.6.204/32"]; + privateKeyFile = "/etc/wireguard/wg2.privatekey"; + + peers = [ + { # nachtigall.pub.solar + publicKey = "qzNywKY9RvqTnDO8eLik75/SHveaSk9OObilDzv+xkk="; + allowedIPs = [ "10.7.6.1/32" "fd00:fae:fae:fae:fae:1::/96" ]; + endpoint = "[2a01:4f8:172:1c25::1]:51820"; + persistentKeepalive = 15; + } + { # flora-6.pub.solar + publicKey = "jtSR5G2P/nm9s8WrVc26Xc/SQLupRxyXE+5eIeqlsTU="; + allowedIPs = [ "10.7.6.2/32" "fd00:fae:fae:fae:fae:2::/96" ]; + endpoint = "80.71.153.210:51820"; + persistentKeepalive = 15; + } + ]; + }; #wg1 = { # address = [ "10.13.0.1/32" ]; # privateKeyFile = "/etc/wireguard/wg1.privatekey";