diff options
Diffstat (limited to 'hosts/surtr')
-rw-r--r-- | hosts/surtr/vpn/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
61 | }; | 61 | }; |
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}:${toString ip}::/96" "${prefix4}.${toString ip}/32"]; |
65 | PublicKey = trim (readFile (./. + "/${name}.pub")); | 65 | PublicKey = trim (readFile (./. + "/${name}.pub")); |
66 | }; | 66 | }; |
67 | }) [ { name = "geri"; } ]; | 67 | }) [ { name = "geri"; } ]; |