From a55bb267a85f8dc4121a1cc4509f73c5da88cb5e Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 8 Nov 2022 20:54:29 +0100 Subject: ... --- hosts/surtr/prometheus/default.nix | 6 ------ hosts/vidhar/prometheus/default.nix | 6 ------ 2 files changed, 12 deletions(-) (limited to 'hosts') diff --git a/hosts/surtr/prometheus/default.nix b/hosts/surtr/prometheus/default.nix index 685d117b..0f0cf586 100644 --- a/hosts/surtr/prometheus/default.nix +++ b/hosts/surtr/prometheus/default.nix @@ -203,12 +203,6 @@ in { }; }; - systemd.services.prometheus = { - serviceConfig = { - SystemCallFilter = mkForce [ "@system-service" "~@privileged" ]; - }; - }; - sops.secrets."prometheus.key" = { format = "binary"; sopsFile = ./tls.key; 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 { ''; }; - systemd.services.prometheus = { - serviceConfig = { - SystemCallFilter = mkForce [ "@system-service" "~@privileged" ]; - }; - }; - services.nginx = { upstreams.prometheus = { servers = { "localhost:${toString config.services.prometheus.port}" = {}; }; -- cgit v1.2.3