0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-19 00:20:32 +03:00
Commit graph

1370 commits

Author SHA1 Message Date
Nico Felbinger
6ee1667861
prometheus-frr-exporter: fix communication to frr unix socket
(cherry picked from commit 7bb9f739ef)
2025-01-16 19:52:37 +01:00
piegames
772006e8c0 treewide: Fix incorrect string escapes
(cherry picked from commit 603733851b)
2025-01-11 17:29:20 +01:00
Martin Weinelt
f247dc37f7 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.

(cherry picked from commit 62f35da2a1)
2025-01-04 17:00:53 +00:00
lucasew
bef2bd9e17 cockpit: 330 -> 331
Signed-off-by: lucasew <lucas59356@gmail.com>
(cherry picked from commit b06a23a614)
2024-12-29 21:29:04 -03:00
Nico Felbinger
b0ed1368e1 prometheus-frr-exporter: init prometheus exporter module
(cherry picked from commit 578c5b6583)
2024-12-25 07:21:04 +00:00
Martin Weinelt
263aec7539 nixos/prometheux-exporters/rasdaemon: init
(cherry picked from commit f6f1febc43)
2024-12-19 14:27:02 +00:00
Ryan Horiguchi
c4d748d54a nixos/librenms: add package option and expose package
(cherry picked from commit d512e07338)
2024-12-14 17:23:47 +00:00
Ryan Horiguchi
2b70f03006 nixos/librenms: use db socket when set
(cherry picked from commit 7241f54c9f)
2024-12-14 17:23:47 +00:00
Marcel
2e61864ce1 nixos/librenms: order librenms-setup after network.target
librenms-setup requires database access; when deploying databases externally, networking is required.

(cherry picked from commit 8153ad4458)
2024-12-11 12:15:03 +00:00
Jenny
475602eb3e
[Backport release-24.11] nixos/librenms: enableLocalBilling + memory limit for cronjobs (#363655) 2024-12-11 12:16:15 +01:00
Wolfgang Walther
4672405f71
[Backport release-24.11] datadog-agent: 7.50.3 -> 7.56.2 (#362994) 2024-12-10 22:36:28 +01:00
Silvan Mosberger
d9d87c5196 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
      --argstr baseRev 0128fbb0a5
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:29:24 +01:00
Jennifer Graul
98a8a38def nixos/librenms: add netali to maintainers
(cherry picked from commit 7e2f76a187)
2024-12-09 17:40:15 +00:00
Jennifer Graul
4a3dacc509 nixos/librenms: fix links in docs
(cherry picked from commit 4bac8c5de5)
2024-12-09 17:40:15 +00:00
Jennifer Graul
fa0a8b5536 nixos/librenms: add enableLocalBilling option
(cherry picked from commit c59a8279ae)
2024-12-09 17:40:15 +00:00
Jennifer Graul
a5fa0a2eac nixos/librenms: add default php_memory_limit and use it in cronjobs
(cherry picked from commit c0efae7559)
2024-12-09 17:40:15 +00:00
Mel Bourgeois
a6141a01ab
nixos/datadog-agent: migrate deprecated config & set bin option
(cherry picked from commit bbcd0f3052)
2024-12-07 18:37:24 -06:00
Yury Shvedov
d3d83fa66e nixos/gitwatch: fix module accounting
With initial commit I missed the `module-list.nix` file and maintainers
field.

Change-Id: If0af670b11370b3634dd7fb89c9707a8fb51c91e
(cherry picked from commit bc678b2892)
2024-12-03 08:12:38 +00:00
Robert Schütz
bf802b2fc5 nixos/prometheus.exporters.unifi: drop
The corresponding package was dropped in 826bef9b51.

(cherry picked from commit 61f3a9680a)
2024-11-29 21:49:57 +00:00
Felix Buehler
679f9fdf7c nixos/mackerel-agent: fix pkgs
(cherry picked from commit ae94b60d54)
2024-11-23 16:53:35 +00:00
Leon Vack
054691fe54 nixos/alertmanager: add additional docs about envsubst
Environment variables in the alertmanager config are substituted using
envsubst. It is therefore necessary to escape $ as $$ in the config, if it
should be preserved.

(cherry picked from commit 11f45c8362)
2024-11-21 13:21:14 +00:00
Claes Hallström
d174bf438b nixos/glances: init module 2024-11-13 00:06:47 +01:00
Sandro
ba2f9f2fff
nixos/grafana: fix evaluation when no settings is defined (#354361) 2024-11-11 15:00:45 +01:00
Florian
07ca74e134
teamviewer: add services.teamviewer.package Option + misc improvemens (#346365) 2024-11-10 11:44:54 +01:00
Sandro Jäckel
d1f7424888
nixos/grafana: fix evaluation when no settings is defined
Before it would fail on line 11 where we check if postgres is used with
an error that the undefined option settings was accessed.
2024-11-08 01:08:11 +01:00
Franz Pletz
0fc41ad977
treewide: Remove ineffective capability grants. (#333533) 2024-11-06 08:12:51 +01:00
Sandro
0f807cf281
nixos/rustdesk-server: suppport enable rustdesk's signal server and relay server seperately and rename an option (#333023) 2024-10-31 02:22:24 +01:00
Wim de With
93cce0becc nixos/prometheus: remove tor exporter 2024-10-30 19:42:51 +01:00
Moraxyc
68b122d2f6
nixos/nezha-agent: add extraFlags 2024-10-29 01:34:36 +08:00
Zhaofeng Li
67bef9e807
nixos/prometheus: Add AWS Signature Version 4 support to remote_write configs (#181883) 2024-10-26 01:24:30 +02:00
Moraxyc
61567875e5
nixos/nezha-agent: add some options for new features 2024-10-23 20:22:37 +08:00
Ramses
f73e31408d
prometheus-klipper-exporter: init at v0.11.2 (#348187) 2024-10-23 09:48:17 +02:00
Wulfsta
e13a31e4bf prometheus-klipper-exporter: init at v0.11.2 2024-10-23 01:55:47 -04:00
Aleksana
8897c79d61
nixos/netdata: remove changefinder (#339803) 2024-10-19 16:02:59 +08:00
Bjørn Forsman
21529d1813 nixos/ups: shutdown UPS at host shutdown
Implement the missing bit of the NUT shutdown design[1]. This ensures
that machines come back up automatically after a power outage. (Without
this change they will only come back up if the UPS completely empties
its battery.)

[1] https://networkupstools.org/docs/user-manual.chunked/Configuration_notes.html#Shutdown_design
2024-10-13 17:55:52 +02:00
Bjørn Forsman
3b781a1e72 nixos/ups: document default upsmon MONITOR value 2024-10-13 17:55:52 +02:00
Bjørn Forsman
2b90f4cdb3 nixos/ups: sort settings attributes
They're listed twice (documentation and implementation) and this change
makes it easier to compare the attrsets.
2024-10-13 17:55:52 +02:00
Bjørn Forsman
40bfbe3226 nixos/scrutiny: wait until ready
Add postStart code that waits until Scrutiny has opened its port. This
fixes a race condition against scrutiny-collector, which can start (and
fail) before scrutiny is ready.
2024-10-06 20:07:45 +02:00
h7x4
d783411040
nixos: improve systemd slice names (#345990) 2024-10-04 12:08:36 +02:00
Philipp Schuster
04dbbd4365 teamviewer: introduce services.teamviewer.package option
Teamviewer only works with its daemon. Therefore, having programs.teamviewer.enable
is not the design currently chosen to add teamviewer. Instead, the
servies.teamviewer.enable option enables both the daemon and the system package.
2024-10-04 09:47:14 +02:00
Philipp Schuster
2928912a7c teamviewer: remove "with lib;" 2024-10-04 09:47:14 +02:00
Philipp Schuster
89ecd03131 teamviewer: format file
Streamline the formatting to match other files.
2024-10-04 09:47:13 +02:00
Bjørn Forsman
e6d7bbf71d nixos/prometheus-dnsmasq-exporter: use a working default leasesPath
dnsmasq dhcp-leasefile defaults to /var/lib/dnsmasq/dnsmasq.leases, so
use that as the default for the exporter too. Curiously, the example was
using the working path, so this patch simply swaps "example" and
"default" values.
2024-10-03 23:06:09 +02:00
Domen Kožar
e873268a35
nixos/datadog-agent: fix deprecated trace agent option (#336546) 2024-10-03 16:15:08 +01:00
Bjørn Forsman
48908e5b86 nixos: improve systemd slice names
Following
https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html#Description=,
update slice names to be short, descriptive and capitalized.
2024-10-02 20:24:13 +02:00
Pol Dellaiera
075be3e70b
nixos/gatus: init module (#294469) 2024-10-02 11:08:14 +02:00
h7x4
cd9c62afca nixos/graphite: add systemd slice
Co-authored-by: Bjørn Forsman <bjorn.forsman@gmail.com>
2024-10-01 20:15:22 +02:00
h7x4
b12aa4265c
nixos/ups: add system-ups.slice (#338556) 2024-09-21 17:05:26 +02:00
Pim Kunis
f1daa46d45 nixos/gatus: init module 2024-09-19 21:34:10 +02:00
Bjørn Forsman
b03e47330b
smartmontools: build with systemdLibs on linux (#342407) 2024-09-19 20:49:26 +02:00