summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts/surtr/vpn/default.nix2
1 files changed, 1 insertions, 1 deletions
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 {
62 wireguardPeers = imap1 (i: { name, ip ? i }: { 62 wireguardPeers = imap1 (i: { name, ip ? i }: {
63 wireguardPeerConfig = { 63 wireguardPeerConfig = {
64 AllowedIPs = ["${prefix6}:${ip}::/96" "${prefix4}.${ip}/32"]; 64 AllowedIPs = ["${prefix6}:${ip}::/96" "${prefix4}.${ip}/32"];
65 PublicKey = trim (readFile (./. + "${name}.pub")); 65 PublicKey = trim (readFile (./. + "/${name}.pub"));
66 }; 66 };
67 }) [ { name = "geri"; } ]; 67 }) [ { name = "geri"; } ];
68 }; 68 };