summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/router.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/router.nix b/modules/router.nix
index 25cdaa2..0c52d86 100644
--- a/modules/router.nix
+++ b/modules/router.nix
@@ -328,7 +328,7 @@ in {
privateKeyFile = config.age.secrets.dragon-wireguard-key.path;
listenPort = vpnPort;
ppers = let mkPeer = host: ip: {
- ips = [ "${vpn-prefix}::${ip}/128" ];
+ ips = [ "${vpnPrefix}::${ip}/128" ];
publicKey = (builtins.readFile (../secrets + "/${host}-wireguard-key.pub"));
endpoint = null;
router = false;