mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2026-05-28 17:21:12 +02:00
base/scrutiny-collector: init
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
./services/prometheus-node-exporter.nix
|
||||
./services/prometheus-systemd-exporter.nix
|
||||
./services/roowho2.nix
|
||||
./services/scrutiny-collector.nix
|
||||
./services/smartd.nix
|
||||
./services/thermald.nix
|
||||
./services/uptimed.nix
|
||||
|
||||
11
base/services/scrutiny-collector.nix
Normal file
11
base/services/scrutiny-collector.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{ config, ... }:
|
||||
{
|
||||
services.scrutiny.collector = {
|
||||
enable = !config.virtualisation.isVmVariant;
|
||||
settings = {
|
||||
version = 1;
|
||||
host.id = config.networking.hostName;
|
||||
api.endpoint = "https://scrutiny.pvv.ntnu.no/";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user