summaryrefslogtreecommitdiff
path: root/hosts/vidhar/prometheus/default.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-11-08 20:54:29 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-11-08 20:54:29 +0100
commita55bb267a85f8dc4121a1cc4509f73c5da88cb5e (patch)
tree6043edd971dbf0489f6b5726e0b95cbea63e8c95 /hosts/vidhar/prometheus/default.nix
parent57f52022fb3e8fabab4fe98d719f7eb6a72c0cc4 (diff)
downloadnixos-a55bb267a85f8dc4121a1cc4509f73c5da88cb5e.tar
nixos-a55bb267a85f8dc4121a1cc4509f73c5da88cb5e.tar.gz
nixos-a55bb267a85f8dc4121a1cc4509f73c5da88cb5e.tar.bz2
nixos-a55bb267a85f8dc4121a1cc4509f73c5da88cb5e.tar.xz
nixos-a55bb267a85f8dc4121a1cc4509f73c5da88cb5e.zip
...
Diffstat (limited to 'hosts/vidhar/prometheus/default.nix')
-rw-r--r--hosts/vidhar/prometheus/default.nix6
1 files changed, 0 insertions, 6 deletions
diff --git a/hosts/vidhar/prometheus/default.nix b/hosts/vidhar/prometheus/default.nix
index a8246e8c..8e5ff0ea 100644
--- a/hosts/vidhar/prometheus/default.nix
+++ b/hosts/vidhar/prometheus/default.nix
@@ -398,12 +398,6 @@ in {
398 ''; 398 '';
399 }; 399 };
400 400
401 systemd.services.prometheus = {
402 serviceConfig = {
403 SystemCallFilter = mkForce [ "@system-service" "~@privileged" ];
404 };
405 };
406
407 services.nginx = { 401 services.nginx = {
408 upstreams.prometheus = { 402 upstreams.prometheus = {
409 servers = { "localhost:${toString config.services.prometheus.port}" = {}; }; 403 servers = { "localhost:${toString config.services.prometheus.port}" = {}; };