From f7eaef0d18f318e4908259e460e637fe7701b72d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Yule=20B=C3=A4dorf?= Date: Fri, 5 Apr 2024 11:26:38 +0000 Subject: [PATCH] wireguard: fix flora-6 address and private key MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-on: https://git.pub.solar/pub-solar/infra/pulls/129 Reviewed-by: Hendrik Sokolowski Co-authored-by: Benjamin Yule Bädorf Co-committed-by: Benjamin Yule Bädorf --- hosts/flora-6/wireguard.nix | 2 +- hosts/nachtigall/wireguard.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/flora-6/wireguard.nix b/hosts/flora-6/wireguard.nix index 53bc5bc3..f51d3b71 100644 --- a/hosts/flora-6/wireguard.nix +++ b/hosts/flora-6/wireguard.nix @@ -6,7 +6,7 @@ { networking.firewall.allowedUDPPorts = [ 51820 ]; - age.secrets.wg-private-key.file = "${flake.self}/secrets/nachtigall-wg-private-key.age"; + age.secrets.wg-private-key.file = "${flake.self}/secrets/flora6-wg-private-key.age"; networking.wireguard.interfaces = { wg-ssh = { diff --git a/hosts/nachtigall/wireguard.nix b/hosts/nachtigall/wireguard.nix index 352a04e6..e349694c 100644 --- a/hosts/nachtigall/wireguard.nix +++ b/hosts/nachtigall/wireguard.nix @@ -19,7 +19,7 @@ privateKeyFile = config.age.secrets.wg-private-key.path; peers = flake.self.logins.admins.wireguardDevices ++ [ { - endpoint = "flora6.pub.solar:51820"; + endpoint = "flora-6.pub.solar:51820"; publicKey = "jtSR5G2P/nm9s8WrVc26Xc/SQLupRxyXE+5eIeqlsTU="; allowedIPs = [ "10.7.6.2/32" "fd00:fae:fae:fae:fae:2::/96" ]; }