From 31d582bc9ada6f377e4b32898606a398361077be Mon Sep 17 00:00:00 2001 From: coolneng Date: Fri, 28 Mar 2025 16:44:40 +0100 Subject: [PATCH] Adapt Wireguard config to upstream changes --- modules/networking.nix | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/modules/networking.nix b/modules/networking.nix index 75da796..391f7b9 100644 --- a/modules/networking.nix +++ b/modules/networking.nix @@ -76,17 +76,13 @@ in wireguardPeers = [ # panacea { - wireguardPeerConfig = { - PublicKey = "XMkTztU2Y8hw6Fu/2o4Gszij+EmNacvFMXuZyHS1n38="; - AllowedIPs = [ "10.8.0.2/32" ]; - }; + PublicKey = "XMkTztU2Y8hw6Fu/2o4Gszij+EmNacvFMXuZyHS1n38="; + AllowedIPs = [ "10.8.0.2/32" ]; } # caravanserai { - wireguardPeerConfig = { - PublicKey = "mCsTj09H7lfDDs8vMQkJOlItHtHQ6MPUyfGO5ZjBbVs="; - AllowedIPs = [ "10.8.0.3/32" ]; - }; + PublicKey = "mCsTj09H7lfDDs8vMQkJOlItHtHQ6MPUyfGO5ZjBbVs="; + AllowedIPs = [ "10.8.0.3/32" ]; } ]; };