From 63adb41f1a060c21a68143eb9e86c2790ef66f36 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 8 Aug 2024 10:45:09 +0200 Subject: ... --- hosts/surtr/bifrost/default.nix | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'hosts/surtr/bifrost') diff --git a/hosts/surtr/bifrost/default.nix b/hosts/surtr/bifrost/default.nix index 20cd5892..fbfde757 100644 --- a/hosts/surtr/bifrost/default.nix +++ b/hosts/surtr/bifrost/default.nix @@ -18,10 +18,8 @@ in { ListenPort = 51822; }; wireguardPeers = [ - { wireguardPeerConfig = { - AllowedIPs = [ "2a03:4000:52:ada:4:1::/96" ]; - PublicKey = trim (readFile ../../vidhar/network/bifrost/vidhar.pub); - }; + { AllowedIPs = [ "2a03:4000:52:ada:4:1::/96" ]; + PublicKey = trim (readFile ../../vidhar/network/bifrost/vidhar.pub); } ]; }; @@ -34,9 +32,7 @@ in { }; address = ["2a03:4000:52:ada:4::/96"]; routes = [ - { routeConfig = { - Destination = "2a03:4000:52:ada:4::/80"; - }; + { Destination = "2a03:4000:52:ada:4::/80"; } ]; linkConfig = { -- cgit v1.2.3