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