From 28b4b609f9f8a06f892584331089693503da20c1 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 8 Apr 2022 23:30:23 +0200 Subject: surtr: ... --- hosts/surtr/prometheus/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hosts/surtr/prometheus') 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 { url = "https://prometheus.vidhar.yggdrasil/api/v1/write"; name = "vidhar"; tls_config = { - ca_file = ../../vidhar/prometheus/ca/ca.crt; - cert_file = ./tls.crt; + ca_file = toString ../../vidhar/prometheus/ca/ca.crt; + cert_file = toString ./tls.crt; key_file = "/run/credentials/prometheus.service/tls.key"; }; } -- cgit v1.2.3