diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-11-08 20:54:29 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-11-08 20:54:29 +0100 |
commit | a55bb267a85f8dc4121a1cc4509f73c5da88cb5e (patch) | |
tree | 6043edd971dbf0489f6b5726e0b95cbea63e8c95 | |
parent | 57f52022fb3e8fabab4fe98d719f7eb6a72c0cc4 (diff) | |
download | nixos-a55bb267a85f8dc4121a1cc4509f73c5da88cb5e.tar nixos-a55bb267a85f8dc4121a1cc4509f73c5da88cb5e.tar.gz nixos-a55bb267a85f8dc4121a1cc4509f73c5da88cb5e.tar.bz2 nixos-a55bb267a85f8dc4121a1cc4509f73c5da88cb5e.tar.xz nixos-a55bb267a85f8dc4121a1cc4509f73c5da88cb5e.zip |
...
-rw-r--r-- | hosts/surtr/prometheus/default.nix | 6 | ||||
-rw-r--r-- | hosts/vidhar/prometheus/default.nix | 6 |
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}" = {}; }; |