Commit Graph

562 Commits

Author SHA1 Message Date
Felix Buehler
5949a18871 treewide: use externalPath 2025-11-10 20:51:44 +01:00
h7x4
39e93806aa Revert "various: replace systemd.services.<name>.{script,preStart} with ExecStart{,Pre}" 2025-10-31 11:03:32 +01:00
Sandro
c32d974077 various: replace systemd.services.<name>.{script,preStart} with ExecStart{,Pre} (#448763) 2025-10-29 12:34:37 +00:00
Johannes Kirschbauer
4ad85b485d various: lib usage improvements - prefer removeAttrs over filterAttrs (#455787) 2025-10-27 16:17:52 +00:00
h7x4
0d841cc8bb nixos/prometheus-exporters/pgbouncer: replace systemd script with ExecStart 2025-10-27 18:52:07 +09:00
h7x4
9842083cd0 nixos/prometheus-exporters/node: lib.any -> lib.elem 2025-10-26 16:23:35 +09:00
h7x4
dbe03e152c nixos/prometheus-exporters/mail: lib.filterAttrs -> lib.removeAttrs 2025-10-26 15:21:23 +09:00
Wolfgang Walther
91a8fee3aa treewide: remove redundant parentheses
Auto-fixed by nixf-diagnose.
2025-10-05 10:52:03 +02:00
Dionysis Grigoropoulos
377847e3c8 nixos/prometheus/storagebox: Init module 2025-09-26 20:24:04 +03:00
h7x4
57c3d1033d nixos/prometheus-exporters/fritzbox: use types.port 2025-09-22 16:32:58 +02:00
dish
2b2ff53811 prometheus-script-exporter: switch to maintained fork (#435767) 2025-09-05 11:57:06 -04:00
dish
970dcca69c treewide: Fix links in module documentation 2025-08-25 12:55:11 -04:00
C4 Patino
4a80d00387 prometheus-script-exporter: switch to maintained fork 2025-08-22 23:47:48 -05:00
Christina Sørensen
8373b65856 kminion: format source
Signed-off-by: Christina Sørensen <ces@fem.gg>
2025-08-17 14:07:18 +00:00
Jonathan Davies
314b467ac1 nixos/prometheus-exporters: Added kafka exporter 2025-08-17 14:07:13 +00:00
Franz Pletz
bec2364ee4 nixos/prometheus.exporters.bitcoin: fix SC2155 (#411022) 2025-07-31 17:18:43 +02:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Wolfgang Walther
62fe016519 treewide: run treefmt with mdcr/nixfmt 2025-07-24 13:52:31 +02:00
Maximilian Bosch
0bb1514207 nixos/alertmanager-ntfy: improve documentation about topic option
This cannot be left unset, otherwise the evaluation would fail. However,
it should be treated as secret. Update description to reflect that.
2025-07-23 18:51:19 +02:00
HE7086
ab2dc5c3f9 nixos/prometheus-wireguard-exporter: add support for new flags 2025-06-30 20:56:40 +02:00
Franz Pletz
629135df7f nixos/prometheus.alertmanagerIrcRelay: fix network-online.target ordering but not depending warning (#358851) 2025-06-30 12:26:16 +02:00
Franz Pletz
e8c0884917 nixos/prometheus-wireguard-exporter: Add a new option to export wireguard_latest_handshake_delay_seconds. (#419815) 2025-06-30 12:25:18 +02:00
Sandro
6dcce44311 prometheus-mailman3-exporter: init at 0.9.1 (#398164) 2025-06-29 22:30:36 +02:00
Jeevan Shikaram
b10dabd009 nixos/prometheus-wireguard-exporter: Add a new option to export wireguard_latest_handshake_delay_seconds. 2025-06-25 18:13:45 +10:00
WilliButz
356d4fc91c treewide: remove myself from maintainers
This removes maintainer entries which haven't reflected reality for a
while, mostly due to a change in focus towards other topics.
2025-06-11 17:39:42 +02:00
Adriano Di Luzio
3be190a1fc nixos/prometheus.exporters.bitcoin: remove unused attributes 2025-05-26 07:55:49 +02:00
Adriano Di Luzio
18e236d89d nixos/prometheus.exporters.bitcoin: fix SC2155
Declare and assign separately `BITCOIN_RPC_PASSWORD` to avoid masking return values.
This will have the service fail at startup if `cfg.rpcPasswordFile` does not exist.

Ref: https://www.shellcheck.net/wiki/SC2155
2025-05-26 07:55:23 +02:00
Sandro
9cacd7ee42 nixos/prometheus/alertmanager-ntfy: init module (#402291) 2025-05-05 13:38:24 +02:00
Defelo
25977534c0 nixos/prometheus/alertmanager-ntfy: init module 2025-04-29 13:03:58 +02:00
Jonathan Davies
f9aba46b57 nixos/prometheus-exporters/ebpf: init 2025-04-23 16:30:28 +01:00
Marcel
d33d1dda8f nixos/prometheus-mailman3-exporter: init module 2025-04-12 17:16:14 +02:00
Pol Dellaiera
068a5dea67 prometheus-ecoflow-exporter: init ecoflow nixos module integration (#395428) 2025-04-04 11:24:56 +02:00
PAEPCKE, Michael
72857eab9f prometheus-tibber-exporter: init tibber nixos module integration 2025-04-04 07:19:56 +00:00
PAEPCKE, Michael
979caf8f05 prometheus-ecoflow-exporter: init ecoflow nixos module integration 2025-04-04 07:18:40 +00:00
Silvan Mosberger
374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
PAEPCKE, Michael
cdb80c1f44 prometheus-exporter: init chrony module 2025-03-30 11:14:30 +00:00
Sandro
53cf148d36 nixos/prometheus: use the non-alias path for dovecot exporter (#380619) 2025-02-22 21:02:09 +01:00
Sandro
8a3e6de4bd alertmanager-gotify-bridge: init at 2.3.2 (#378055) 2025-02-17 23:23:20 +01:00
Julian Kuhn
a919728213 nixos/alertmanager-gotify-bridge: init module 2025-02-16 22:38:04 +01:00
Jeremy Fleischman
c263be1dee nixos/prometheus: add missing dns_sd_configs types
From
https://prometheus.io/docs/prometheus/latest/configuration/configuration/#dns_sd_config:

> The type of DNS query to perform. One of SRV, A, AAAA, MX or NS.

I also simplified the doc string as it's redundant with the generated
docs.
2025-02-16 23:46:29 +07:00
Tristan Ross
8005d0910b prometheus-node-cert-exporter: init at 1.1.7 (#368325) 2025-02-12 12:34:24 -08:00
dish
77ee605948 nixos/prometheus: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish
fa7399c650 nixos/prometheus/exporters: fix documentation link formatting 2025-02-12 21:03:21 +01:00
NotAShelf
bb6f723f33 nixos/prometheus: use the non-alias path for dovecot exporter 2025-02-12 01:41:55 +03:00
Tom Herbers
5abb11bbe7 nixos/bird: rename bird2 to bird, switch to bird3 by default
This is done in view of the Release of the new v3 of Bird.

Switch to the bird3 package for the `services.bird.package` option.

Switch the `bird` package alias to bird3.
2025-02-06 16:35:44 +01:00
Anton Tetov
494b2407ef nixos/prometheus-restic-exporter: set cache dir (#378228)
* nixos/prometheus-restic-exporter: set cache dir

* prometheus-restic-exporter: use systemd variable for cachedir
2025-02-03 21:50:02 +01:00
Peder Bergebakken Sundt
953f72e76e nixos/*: tag manpage references 2025-01-27 02:47:01 +01:00
Nico Felbinger
7bb9f739ef prometheus-frr-exporter: fix communication to frr unix socket 2025-01-13 20:33:09 +01:00
piegames
603733851b treewide: Fix incorrect string escapes 2025-01-07 19:49:28 +01:00
Martin Weinelt
62f35da2a1 nixos/prometheus-exporters/fastly: fix secret handling
The exporter expects the token as an environment variable, not a path
to the file containing the token.
2025-01-04 17:48:56 +01:00