diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-12-31 16:18:13 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-12-31 16:18:13 +0100 |
commit | cacc7baa36bd85c8e61ef4dcc0761fa1e754020d (patch) | |
tree | a8a8a4118c6dbdc34ea966ea46647ce72f605d20 /hosts/vidhar | |
parent | ff8241c830d906070ae2f2b3f9519dc3b50e9914 (diff) | |
download | nixos-cacc7baa36bd85c8e61ef4dcc0761fa1e754020d.tar nixos-cacc7baa36bd85c8e61ef4dcc0761fa1e754020d.tar.gz nixos-cacc7baa36bd85c8e61ef4dcc0761fa1e754020d.tar.bz2 nixos-cacc7baa36bd85c8e61ef4dcc0761fa1e754020d.tar.xz nixos-cacc7baa36bd85c8e61ef4dcc0761fa1e754020d.zip |
vidhar: prometheus: smartctl: ...
Diffstat (limited to 'hosts/vidhar')
-rw-r--r-- | hosts/vidhar/prometheus.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hosts/vidhar/prometheus.nix b/hosts/vidhar/prometheus.nix index 12f73269..98ef76b6 100644 --- a/hosts/vidhar/prometheus.nix +++ b/hosts/vidhar/prometheus.nix | |||
@@ -21,7 +21,7 @@ in { | |||
21 | node.enable = true; | 21 | node.enable = true; |
22 | smartctl = { | 22 | smartctl = { |
23 | enable = true; | 23 | enable = true; |
24 | devices = map (dev: "/dev/${dev}") [ | 24 | devices = map (dev: "/dev/disk/by-path/${dev}") [ |
25 | "pci-0000:00:1f.2-ata-1" | 25 | "pci-0000:00:1f.2-ata-1" |
26 | "pci-0000:00:1f.2-ata-3" | 26 | "pci-0000:00:1f.2-ata-3" |
27 | "pci-0000:00:1f.2-ata-4" | 27 | "pci-0000:00:1f.2-ata-4" |