summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/vidhar/prometheus/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/hosts/vidhar/prometheus/default.nix b/hosts/vidhar/prometheus/default.nix
index 1cadde8b..50f9338d 100644
--- a/hosts/vidhar/prometheus/default.nix
+++ b/hosts/vidhar/prometheus/default.nix
@@ -338,5 +338,15 @@ in {
338 --web.listen-address ${cfg.listenAddress}:${toString cfg.port} ${concatStringsSep " " cfg.extraFlags} 338 --web.listen-address ${cfg.listenAddress}:${toString cfg.port} ${concatStringsSep " " cfg.extraFlags}
339 ''; 339 '';
340 }; 340 };
341
342 systemd.services."prometheus-smartctl-exporter" = {
343 serviceConfig = {
344 DeviceAllow = lib.mkOverride 200 [
345 "block-blkext rw"
346 "block-sd rw"
347 "char-nvme rw"
348 ];
349 };
350 };
341 }; 351 };
342} 352}