From 5bf48d06189ec43cd93602191670decbbd09bae9 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Tue, 4 Jun 2024 09:42:34 +0200 Subject: [PATCH] loki: Update wireguard config to new config format --- machines/loki/configuration.nix | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/machines/loki/configuration.nix b/machines/loki/configuration.nix index 6edafa5..529a263 100644 --- a/machines/loki/configuration.nix +++ b/machines/loki/configuration.nix @@ -256,17 +256,15 @@ wireguardPeers = [ { - wireguardPeerConfig = { - PublicKey = "6faxlUG8+F7uVrKk/OJqqy5k2+OzrhXc/cV6Zsfbl0c="; - AllowedIPs = [ - "192.168.4.0/23" - "192.168.6.0/24" - "192.168.7.0/24" - "192.168.8.0/24" - ]; - Endpoint = "212.45.34.195:51820"; - PersistentKeepalive = 25; - }; + PublicKey = "6faxlUG8+F7uVrKk/OJqqy5k2+OzrhXc/cV6Zsfbl0c="; + AllowedIPs = [ + "192.168.4.0/23" + "192.168.6.0/24" + "192.168.7.0/24" + "192.168.8.0/24" + ]; + Endpoint = "212.45.34.195:51820"; + PersistentKeepalive = 25; } ]; };