summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/surtr/prometheus/default.nix6
-rw-r--r--hosts/vidhar/prometheus/default.nix6
2 files changed, 0 insertions, 12 deletions
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 {
203 }; 203 };
204 }; 204 };
205 205
206 systemd.services.prometheus = {
207 serviceConfig = {
208 SystemCallFilter = mkForce [ "@system-service" "~@privileged" ];
209 };
210 };
211
212 sops.secrets."prometheus.key" = { 206 sops.secrets."prometheus.key" = {
213 format = "binary"; 207 format = "binary";
214 sopsFile = ./tls.key; 208 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 {
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}" = {}; };