From 750bfe42fd20272c7fade86c3d8876d93a18fe8a Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Sat, 7 Oct 2023 09:41:48 -0400 Subject: fix --- modules/router.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/router.nix') 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; -- cgit v1.2.3