diff options
| author | Jakub Stachurski <jakub@wilkuu.xyz> | 2026-06-22 01:20:43 +0200 |
|---|---|---|
| committer | Jakub Stachurski <jakub@wilkuu.xyz> | 2026-06-22 01:20:43 +0200 |
| commit | 8b92d362b61369fe774021cbf0945b4d261077b9 (patch) | |
| tree | 144417ee35798f4fccdb100009f8144e4f072f18 /modules/prometheus.nix | |
| parent | bf225126903b6428ac1226bba0bc2da392a2c5a6 (diff) | |
nix fmt
Diffstat (limited to 'modules/prometheus.nix')
| -rw-r--r-- | modules/prometheus.nix | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/modules/prometheus.nix b/modules/prometheus.nix index 26cdb10..22db413 100644 --- a/modules/prometheus.nix +++ b/modules/prometheus.nix @@ -111,13 +111,14 @@ in ]; } { - job_name = "mikrotik"; - static_configs = let - port = toString config.services.prometheus.exporters.fail2ban.port; - in - [ - { targets = ["localhost:${port}"]; } - ]; + job_name = "mikrotik"; + static_configs = + let + port = toString config.services.prometheus.exporters.fail2ban.port; + in + [ + { targets = [ "localhost:${port}" ]; } + ]; } ]; |
