diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-07-29 12:44:04 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-07-29 12:44:04 +0200 |
commit | e41d3b2faf76ee77f797ce80bf5e2bcc10a1cf71 (patch) | |
tree | bd77c030274d1c5704fcb1b174a1adcf223d77bd | |
parent | 047af35d11a50d335ee5d2b8913e2c7bd3f4bbe8 (diff) | |
download | nixos-e41d3b2faf76ee77f797ce80bf5e2bcc10a1cf71.tar nixos-e41d3b2faf76ee77f797ce80bf5e2bcc10a1cf71.tar.gz nixos-e41d3b2faf76ee77f797ce80bf5e2bcc10a1cf71.tar.bz2 nixos-e41d3b2faf76ee77f797ce80bf5e2bcc10a1cf71.tar.xz nixos-e41d3b2faf76ee77f797ce80bf5e2bcc10a1cf71.zip |
...
-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"; } ]; |