From 03fe757ce746e87dff946a46519377bb34b20cf2 Mon Sep 17 00:00:00 2001
From: Gregor Kleen <gkleen@yggdrasil.li>
Date: Sat, 1 Jan 2022 00:15:57 +0100
Subject: vidhar: prometheus: ...

---
 hosts/vidhar/prometheus/default.nix | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'hosts')

diff --git a/hosts/vidhar/prometheus/default.nix b/hosts/vidhar/prometheus/default.nix
index c6d926f6..b121ac2f 100644
--- a/hosts/vidhar/prometheus/default.nix
+++ b/hosts/vidhar/prometheus/default.nix
@@ -57,7 +57,8 @@ in {
             in pkgs.writeText "wireguard-config" (concatMapStringsSep "\n" ({ name, value }: ''
               [Peer]
               # ${name}
-              PublicKey=${value}
+              PublicKey = ${value}
+              AllowedIPs = ::/0
             '') (concatLists (mapAttrsToList (host: hostKeys: map (nameValuePair host) hostKeys) keys)));
         };
       };
-- 
cgit v1.2.3