summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts/surtr/prometheus/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/surtr/prometheus/default.nix b/hosts/surtr/prometheus/default.nix
index 4f6ea44d..26144302 100644
--- a/hosts/surtr/prometheus/default.nix
+++ b/hosts/surtr/prometheus/default.nix
@@ -31,8 +31,8 @@ in {
31 url = "https://prometheus.vidhar.yggdrasil/api/v1/write"; 31 url = "https://prometheus.vidhar.yggdrasil/api/v1/write";
32 name = "vidhar"; 32 name = "vidhar";
33 tls_config = { 33 tls_config = {
34 ca_file = ../../vidhar/prometheus/ca/ca.crt; 34 ca_file = toString ../../vidhar/prometheus/ca/ca.crt;
35 cert_file = ./tls.crt; 35 cert_file = toString ./tls.crt;
36 key_file = "/run/credentials/prometheus.service/tls.key"; 36 key_file = "/run/credentials/prometheus.service/tls.key";
37 }; 37 };
38 } 38 }