From 1d273761334980d9fc9a9a297d71d37ff4bb858e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Yule=20B=C3=A4dorf?= Date: Fri, 5 Apr 2024 13:18:48 +0200 Subject: [PATCH 1/2] wireguard: fix flora-6 address --- hosts/nachtigall/wireguard.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/nachtigall/wireguard.nix b/hosts/nachtigall/wireguard.nix index 352a04e..e349694 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" ]; } -- 2.44.2 From 6bec4c928969c4b168cf606a57943c95af2d6398 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Yule=20B=C3=A4dorf?= Date: Fri, 5 Apr 2024 13:24:27 +0200 Subject: [PATCH 2/2] wireguard: fix flora-6 private key --- hosts/flora-6/wireguard.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/flora-6/wireguard.nix b/hosts/flora-6/wireguard.nix index 53bc5bc..f51d3b7 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 = { -- 2.44.2