diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2022-05-31 06:38:33 -0400 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2022-05-31 06:38:33 -0400 |
commit | c534c2185b89078b64e8740e91ac534cd065bf73 (patch) | |
tree | 2b7838bb5c67a2307e474f31c9fb5a78bc715464 /modules/vpn.nix | |
parent | 156f13bc5d3358c2010d53973260da0f610d3cc4 (diff) |
Update vpn ip
Diffstat (limited to 'modules/vpn.nix')
-rw-r--r-- | modules/vpn.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/vpn.nix b/modules/vpn.nix index f3918be..cab83be 100644 --- a/modules/vpn.nix +++ b/modules/vpn.nix @@ -6,10 +6,10 @@ let vpn-prefix = "2001:470:8e2e:1000"; mkConfig = host: ip: { - ips = [ "${vpn-prefix}::d/64" ]; - publicKey = (builtins.readFile ../secrets/${host}-wireguard-key.pub); - endpoint = null; - server = false; + ips = [ "${vpn-prefix}::${ip}/64" ]; + publicKey = (builtins.readFile ../secrets/${host}-wireguard-key.pub); + endpoint = null; + server = false; }; hosts = { |