From bb2e7365bbd8c9e59795cec8880e9f6294a1fdc7 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Sat, 7 Oct 2023 09:57:39 -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 49607c7..94be051 100644 --- a/modules/router.nix +++ b/modules/router.nix @@ -328,7 +328,7 @@ in { privateKeyFile = config.age.secrets.dragon-wireguard-key.path; listenPort = vpnPort; peers = let mkPeer = host: ip: { - name = "host"; + name = host; allowedIPs = [ "${vpnPrefix}::${ip}/128" ]; publicKey = (builtins.readFile (../secrets + "/${host}-wireguard-key.pub")); endpoint = null; -- cgit v1.2.3