diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-01 00:15:57 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-01 00:15:57 +0100 |
commit | 03fe757ce746e87dff946a46519377bb34b20cf2 (patch) | |
tree | b271fe0c815879f7cd3bb905ce47f2e4c34722ec /hosts/vidhar/prometheus/default.nix | |
parent | 62b442c075e0b97db24e2fa5790250535f44e41e (diff) | |
download | nixos-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.nix | 3 |
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 | }; |