summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2023-10-07 09:49:37 -0400
committerKjetil Orbekk <kj@orbekk.com>2023-10-07 09:49:37 -0400
commit1b9827e47bfc7d9c32ccd7da0ad8157d634041f7 (patch)
tree1cbf80d8a45264c7104721469ff02ab5499e1d37
parent9ba672ac64a67e96b7bae286fc6a2dbf443ed742 (diff)
fix
-rw-r--r--modules/router.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/router.nix b/modules/router.nix
index e86209f..2811035 100644
--- a/modules/router.nix
+++ b/modules/router.nix
@@ -329,7 +329,7 @@ in {
listenPort = vpnPort;
peers = let mkPeer = host: ip: {
name = "host";
- ips = [ "${vpnPrefix}::${ip}/128" ];
+ allowedIPs = [ "${vpnPrefix}::${ip}/128" ];
publicKey = (builtins.readFile (../secrets + "/${host}-wireguard-key.pub"));
endpoint = null;
router = false;