summaryrefslogtreecommitdiff
path: root/hosts/surtr
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-07-29 11:14:51 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2022-07-29 11:14:51 +0200
commit047af35d11a50d335ee5d2b8913e2c7bd3f4bbe8 (patch)
treea9565f459a0669c19f02a8defa6838f490c1e700 /hosts/surtr
parent1499130e9b7bc81a6431b57038d8cdc5f8603ee1 (diff)
downloadnixos-047af35d11a50d335ee5d2b8913e2c7bd3f4bbe8.tar
nixos-047af35d11a50d335ee5d2b8913e2c7bd3f4bbe8.tar.gz
nixos-047af35d11a50d335ee5d2b8913e2c7bd3f4bbe8.tar.bz2
nixos-047af35d11a50d335ee5d2b8913e2c7bd3f4bbe8.tar.xz
nixos-047af35d11a50d335ee5d2b8913e2c7bd3f4bbe8.zip
...
Diffstat (limited to 'hosts/surtr')
-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 };