From a65867c4c3de0c03ebcd94c6f2e4550b4dd443c1 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 31 Dec 2021 16:16:11 +0100 Subject: vidhar: prometheus: smartctl: ... --- hosts/vidhar/prometheus.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hosts/vidhar/prometheus.nix') diff --git a/hosts/vidhar/prometheus.nix b/hosts/vidhar/prometheus.nix index 7cbb36d4..12f73269 100644 --- a/hosts/vidhar/prometheus.nix +++ b/hosts/vidhar/prometheus.nix @@ -21,7 +21,7 @@ in { node.enable = true; smartctl = { enable = true; - devices = [ + devices = map (dev: "/dev/${dev}") [ "pci-0000:00:1f.2-ata-1" "pci-0000:00:1f.2-ata-3" "pci-0000:00:1f.2-ata-4" -- cgit v1.2.3