diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2023-10-07 09:57:39 -0400 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2023-10-07 09:57:39 -0400 |
commit | bb2e7365bbd8c9e59795cec8880e9f6294a1fdc7 (patch) | |
tree | d539de6aebd58efc2ed548121fd1b48a943bfba2 | |
parent | fd001fd21b937600e1dad07183c2fd9f60e3ea3f (diff) |
fix
-rw-r--r-- | modules/router.nix | 2 |
1 files changed, 1 insertions, 1 deletions
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; |