summary refs log tree commit diff
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2022-01-30 04:32:15 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2022-01-30 04:32:15 +0100
commit9d8a23f66e4742969483efdea17b5fb9c0182269 (patch)
tree7dc248bfb00cc4abc49dd62e6f101a3c017cfbb0
parent6f391d8b567f62c1ba29a7c61267022fad00e50b (diff)
downloadnixpkgs-9d8a23f66e4742969483efdea17b5fb9c0182269.tar
nixpkgs-9d8a23f66e4742969483efdea17b5fb9c0182269.tar.gz
nixpkgs-9d8a23f66e4742969483efdea17b5fb9c0182269.tar.bz2
nixpkgs-9d8a23f66e4742969483efdea17b5fb9c0182269.tar.lz
nixpkgs-9d8a23f66e4742969483efdea17b5fb9c0182269.tar.xz
nixpkgs-9d8a23f66e4742969483efdea17b5fb9c0182269.tar.zst
nixpkgs-9d8a23f66e4742969483efdea17b5fb9c0182269.zip
nixos/smartctl-exporter: fix typo in rawio capab
-rw-r--r--nixos/modules/services/monitoring/prometheus/exporters/smartctl.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/smartctl.nix b/nixos/modules/services/monitoring/prometheus/exporters/smartctl.nix
index 9e49601ce1a..bac98364538 100644
--- a/nixos/modules/services/monitoring/prometheus/exporters/smartctl.nix
+++ b/nixos/modules/services/monitoring/prometheus/exporters/smartctl.nix
@@ -42,11 +42,11 @@ in {
   serviceOpts = {
     serviceConfig = {
       AmbientCapabilities = [
-        "CAP_RAW_SYSIO"
+        "CAP_SYS_RAWIO"
         "CAP_SYS_ADMIN"
       ];
       CapabilityBoundingSet = [
-        "CAP_RAW_SYSIO"
+        "CAP_SYS_RAWIO"
         "CAP_SYS_ADMIN"
       ];
       DevicePolicy = "closed";