diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-11-08 09:26:50 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-11-08 09:26:50 +0100 |
commit | a13b3508981258145a9a7b516225e66f20d82473 (patch) | |
tree | 011a4057e4c2da2d13ff4c33806f8c16226b2e5d | |
parent | f91f9c763484a17a8222fd21e39ae48944c53ab7 (diff) | |
download | nixos-a13b3508981258145a9a7b516225e66f20d82473.tar nixos-a13b3508981258145a9a7b516225e66f20d82473.tar.gz nixos-a13b3508981258145a9a7b516225e66f20d82473.tar.bz2 nixos-a13b3508981258145a9a7b516225e66f20d82473.tar.xz nixos-a13b3508981258145a9a7b516225e66f20d82473.zip |
...
-rw-r--r-- | hosts/vidhar/prometheus/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/hosts/vidhar/prometheus/default.nix b/hosts/vidhar/prometheus/default.nix index 8e5ff0ea..de7837dc 100644 --- a/hosts/vidhar/prometheus/default.nix +++ b/hosts/vidhar/prometheus/default.nix | |||
@@ -398,6 +398,14 @@ in { | |||
398 | ''; | 398 | ''; |
399 | }; | 399 | }; |
400 | 400 | ||
401 | systemd.services.prometheus = { | ||
402 | serviceConfig = { | ||
403 | SystemCallFilter = [ | ||
404 | "@resources" | ||
405 | ]; | ||
406 | }; | ||
407 | }; | ||
408 | |||
401 | services.nginx = { | 409 | services.nginx = { |
402 | upstreams.prometheus = { | 410 | upstreams.prometheus = { |
403 | servers = { "localhost:${toString config.services.prometheus.port}" = {}; }; | 411 | servers = { "localhost:${toString config.services.prometheus.port}" = {}; }; |