diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-11-08 09:38:18 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-11-08 09:38:18 +0100 |
commit | e1cae7cc17d7ad9d062bf7f561ee90712b51b5e8 (patch) | |
tree | f9c0a3271c6d5b5c20f4df86de98013039b30a7d /hosts/surtr/prometheus | |
parent | ac9bdcb42a3396268aebda74b7a69b1a6a4117b5 (diff) | |
download | nixos-e1cae7cc17d7ad9d062bf7f561ee90712b51b5e8.tar nixos-e1cae7cc17d7ad9d062bf7f561ee90712b51b5e8.tar.gz nixos-e1cae7cc17d7ad9d062bf7f561ee90712b51b5e8.tar.bz2 nixos-e1cae7cc17d7ad9d062bf7f561ee90712b51b5e8.tar.xz nixos-e1cae7cc17d7ad9d062bf7f561ee90712b51b5e8.zip |
...
Diffstat (limited to 'hosts/surtr/prometheus')
-rw-r--r-- | hosts/surtr/prometheus/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hosts/surtr/prometheus/default.nix b/hosts/surtr/prometheus/default.nix index 0f0cf586..685d117b 100644 --- a/hosts/surtr/prometheus/default.nix +++ b/hosts/surtr/prometheus/default.nix | |||
@@ -203,6 +203,12 @@ in { | |||
203 | }; | 203 | }; |
204 | }; | 204 | }; |
205 | 205 | ||
206 | systemd.services.prometheus = { | ||
207 | serviceConfig = { | ||
208 | SystemCallFilter = mkForce [ "@system-service" "~@privileged" ]; | ||
209 | }; | ||
210 | }; | ||
211 | |||
206 | sops.secrets."prometheus.key" = { | 212 | sops.secrets."prometheus.key" = { |
207 | format = "binary"; | 213 | format = "binary"; |
208 | sopsFile = ./tls.key; | 214 | sopsFile = ./tls.key; |