From 83e6841a7fcdc9eedcad20d10dbe81f8e5ff582a Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Tue, 10 Oct 2023 19:38:13 +0530 Subject: [PATCH] use updated listenPorts --- hosts/rico2/wireguard.nix | 3 +-- hosts/skipper/wireguard.nix | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/hosts/rico2/wireguard.nix b/hosts/rico2/wireguard.nix index 63f0823..956660a 100644 --- a/hosts/rico2/wireguard.nix +++ b/hosts/rico2/wireguard.nix @@ -9,10 +9,9 @@ in { enable = true; interfaces = { wg0 = { - inherit (peers."${config.networking.hostName}") ips; + inherit (peers."${config.networking.hostName}") ips listenPort; privateKeyFile = "/etc/wireguard/private.key"; generatePrivateKeyFile = true; - listenPort = 51820; peers = with peers; [ Proxy.peer ]; diff --git a/hosts/skipper/wireguard.nix b/hosts/skipper/wireguard.nix index 63f0823..956660a 100644 --- a/hosts/skipper/wireguard.nix +++ b/hosts/skipper/wireguard.nix @@ -9,10 +9,9 @@ in { enable = true; interfaces = { wg0 = { - inherit (peers."${config.networking.hostName}") ips; + inherit (peers."${config.networking.hostName}") ips listenPort; privateKeyFile = "/etc/wireguard/private.key"; generatePrivateKeyFile = true; - listenPort = 51820; peers = with peers; [ Proxy.peer ];