summaryrefslogtreecommitdiff
path: root/hosts/vidhar/prometheus
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/vidhar/prometheus')
-rw-r--r--hosts/vidhar/prometheus/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/hosts/vidhar/prometheus/default.nix b/hosts/vidhar/prometheus/default.nix
index 76c4e3ff..0bf1ca58 100644
--- a/hosts/vidhar/prometheus/default.nix
+++ b/hosts/vidhar/prometheus/default.nix
@@ -342,6 +342,8 @@ in {
342 systemd.services."prometheus-smartctl-exporter" = { 342 systemd.services."prometheus-smartctl-exporter" = {
343 serviceConfig = { 343 serviceConfig = {
344 DeviceAllow = lib.mkForce config.services.prometheus.exporters.smartctl.devices; 344 DeviceAllow = lib.mkForce config.services.prometheus.exporters.smartctl.devices;
345 CapabilityBoundingSet = lib.mkForce ["CAP_SYS_ADMIN"];
346 AmbientCapabilities = lib.mkForce ["CAP_SYS_ADMIN"];
345 }; 347 };
346 }; 348 };
347 }; 349 };