From 047af35d11a50d335ee5d2b8913e2c7bd3f4bbe8 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 29 Jul 2022 11:14:51 +0200 Subject: ... --- hosts/surtr/vpn/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hosts') diff --git a/hosts/surtr/vpn/default.nix b/hosts/surtr/vpn/default.nix index 65caff85..04fd3258 100644 --- a/hosts/surtr/vpn/default.nix +++ b/hosts/surtr/vpn/default.nix @@ -62,7 +62,7 @@ in { wireguardPeers = imap1 (i: { name, ip ? i }: { wireguardPeerConfig = { AllowedIPs = ["${prefix6}:${ip}::/96" "${prefix4}.${ip}/32"]; - PublicKey = trim (readFile (./. + "${name}.pub")); + PublicKey = trim (readFile (./. + "/${name}.pub")); }; }) [ { name = "geri"; } ]; }; -- cgit v1.2.3