Maximilian Bosch
4220a62d70
Merge: nixos/victoriametrics: check config, more tests & update desc ( #353950 )
2024-11-24 14:18:29 +01:00
Guillaume Girol
a929772d78
nixos/prometheus-postfix-exporter: add package option and format ( #356564 )
2024-11-23 17:53:28 +01:00
Felix Buehler
ae94b60d54
nixos/mackerel-agent: fix pkgs
2024-11-23 17:06:58 +01:00
Wulfsta
7df67599ea
nixos/prometheus-postfix-exporter: add package option and format
2024-11-22 17:08:44 -05:00
Ryan Yin
ad06fc936d
nixos/victoriametrics: check config, more tests, update desc
2024-11-23 01:19:11 +08:00
Aleksana
c1b9d0ce79
nixos/alertmanager: add additional docs about envsubst ( #302536 )
2024-11-21 21:20:44 +08:00
commiterate
3d0e3156ea
amazon-cloudwatch-agent: init at 1.300049.1
2024-11-18 19:19:35 -05: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
Bjørn Forsman
86a6ef5f15
nixos/prometheus-smartctl-exporter: fix NVMe scanning
...
smartctl_exporter already runs with SupplementaryGroups "disk", which
gives full access to SATA drives, but NVMe devices are owned by
root:root, resulting in no access:
[...] msg="Smartctl open device: /dev/nvme0 failed: Permission denied"
This patch introduces a "smartctl-exporter-access" supplementary
group, and an udev rule with setfacl to give the exporter access to NVMe
drives, without changing the base root:root ownership.
Fixes https://github.com/NixOS/nixpkgs/issues/210041
2024-09-19 17:28:30 +02:00
h7x4
4423e93451
nixos/smartd: set Type = notify
on systemd service
2024-09-16 23:21:24 +02:00
Bjørn Forsman
1cb392fdcd
nixos/ups: set env vars in the global environment
...
This allows using upsdrvctl interactively, which otherwise tries to use
a missing ups.conf in the Nix store, instead of the correct
/etc/nut/ups.conf.
2024-09-11 21:14:48 +02:00
Bjørn Forsman
801388a6fa
nixos/ups: deduplicate environment variables
...
No functional change, but more DRY.
2024-09-11 21:14:48 +02:00
Felix Bühler
6cc52ec011
nixos/services.graphite: remove with lib;
( #339095 )
2024-09-10 22:15:56 +02:00
Aleksana
1579b92dd4
todesk: init at 4.7.2.0 ( #310474 )
2024-09-10 21:42:59 +08:00
Maximilian Bosch
862ecd674f
nixos/prometheus-exporters/pgbouncer: don't leak DB password into cmdline
...
Since `connectionStringFile` reads the file and puts it into the
invocation of the exporter, it's part of the cmdline and thus
effectively world-readable.
Added a new `connectionEnvFile` which is supposed to be an environment
file of the form
PGBOUNCER_EXPORTER_CONNECTION_STRING=...
that will be added to the systemd service. The exporter will read the
connection string from that value.
2024-09-09 21:08:17 +02:00
Maximilian Bosch
4980a7d938
nixos/prometheus-exporters: fix assertions declared in exporter modules
...
And it turns out, the test was using a removed option all along 🙃
2024-09-09 21:08:17 +02:00
wrvsrx
97f1e5df09
nixos/rustdesk-server: suppport enable rustdesk's signal server and relay server seperately and rename an option
...
In theory, we can use one server as rustdesk's signal server and another
one as rustdesk's relay server. This PR allows such behavior.
This PR also renames `relayIP` to `relayHosts` since we can specify dns
name or ip as a relay server.
2024-09-06 21:48:42 +08:00
Ryan Horiguchi
53db73d61e
nixos/netdata: remove changefinder
2024-09-05 15:48:43 +02:00
Ryan Horiguchi
737d1ffb22
netdata: 1.46.1 -> 1.47.0
2024-09-05 10:19:35 +02:00
Felix Bühler
d7ed3794f0
nixos/services.unpoller: remove with lib;
( #339094 )
2024-09-04 23:52:53 +02:00
Felix Buehler
f57a188819
nixos/services.unpoller: remove with lib;
2024-09-02 22:30:26 +02:00
Felix Buehler
4f6d325a8a
nixos/services.graphite: remove with lib;
2024-09-02 22:29:51 +02:00