summaryrefslogtreecommitdiff
path: root/hosts/vidhar/prometheus/default.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-01-01 00:15:57 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-01-01 00:15:57 +0100
commit03fe757ce746e87dff946a46519377bb34b20cf2 (patch)
treeb271fe0c815879f7cd3bb905ce47f2e4c34722ec /hosts/vidhar/prometheus/default.nix
parent62b442c075e0b97db24e2fa5790250535f44e41e (diff)
downloadnixos-03fe757ce746e87dff946a46519377bb34b20cf2.tar
nixos-03fe757ce746e87dff946a46519377bb34b20cf2.tar.gz
nixos-03fe757ce746e87dff946a46519377bb34b20cf2.tar.bz2
nixos-03fe757ce746e87dff946a46519377bb34b20cf2.tar.xz
nixos-03fe757ce746e87dff946a46519377bb34b20cf2.zip
vidhar: prometheus: ...
Diffstat (limited to 'hosts/vidhar/prometheus/default.nix')
-rw-r--r--hosts/vidhar/prometheus/default.nix3
1 files changed, 2 insertions, 1 deletions
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 {
57 in pkgs.writeText "wireguard-config" (concatMapStringsSep "\n" ({ name, value }: '' 57 in pkgs.writeText "wireguard-config" (concatMapStringsSep "\n" ({ name, value }: ''
58 [Peer] 58 [Peer]
59 # ${name} 59 # ${name}
60 PublicKey=${value} 60 PublicKey = ${value}
61 AllowedIPs = ::/0
61 '') (concatLists (mapAttrsToList (host: hostKeys: map (nameValuePair host) hostKeys) keys))); 62 '') (concatLists (mapAttrsToList (host: hostKeys: map (nameValuePair host) hostKeys) keys)));
62 }; 63 };
63 }; 64 };