diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-01 17:05:21 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-01 17:05:21 +0100 |
commit | e7bd46db488f29b593a2a4b6e0ce6fdf4d92f25b (patch) | |
tree | 32b91527a513fa6be6f9690e695da385592d32c6 /hosts | |
parent | 187a0aec7641af4be3eb4e9cb4a781883819efd4 (diff) | |
download | nixos-e7bd46db488f29b593a2a4b6e0ce6fdf4d92f25b.tar nixos-e7bd46db488f29b593a2a4b6e0ce6fdf4d92f25b.tar.gz nixos-e7bd46db488f29b593a2a4b6e0ce6fdf4d92f25b.tar.bz2 nixos-e7bd46db488f29b593a2a4b6e0ce6fdf4d92f25b.tar.xz nixos-e7bd46db488f29b593a2a4b6e0ce6fdf4d92f25b.zip |
...
Diffstat (limited to 'hosts')
-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"; |