diff options
-rw-r--r-- | hosts/vidhar/prometheus/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hosts/vidhar/prometheus/default.nix b/hosts/vidhar/prometheus/default.nix index 863b77fe..cc63b57d 100644 --- a/hosts/vidhar/prometheus/default.nix +++ b/hosts/vidhar/prometheus/default.nix | |||
@@ -231,7 +231,7 @@ in { | |||
231 | RestrictSUIDSGID = true; | 231 | RestrictSUIDSGID = true; |
232 | SystemCallArchitectures = "native"; | 232 | SystemCallArchitectures = "native"; |
233 | UMask = "0077"; | 233 | UMask = "0077"; |
234 | AmbientCapabilities = [ "CAP_NET_ADMIN" ]; | 234 | AmbientCapabilities = [ "CAP_NET_RAW" "CAP_NET_ADMIN" ]; |
235 | 235 | ||
236 | Type = "simple"; | 236 | Type = "simple"; |
237 | ExecStart = "${pkgs.nftables-prometheus-exporter}/bin/nftables-prometheus-exporter"; | 237 | ExecStart = "${pkgs.nftables-prometheus-exporter}/bin/nftables-prometheus-exporter"; |