Formatting

This commit is contained in:
Nox Sluijtman 2025-04-18 09:37:57 +02:00
parent ae65065d5c
commit 3ca8c5e218
Signed by: Egg
SSH key fingerprint: SHA256:2sG9X3C7Xvq2svGumz1/k7cm8l4G9+qAtAeugqB4J9M
9 changed files with 156 additions and 108 deletions

View file

@ -1,7 +1,9 @@
{ lib, config, ... }:
with lib;
let cfg = config.voidconf.prometheus;
in {
let
cfg = config.voidconf.prometheus;
in
{
options.voidconf.prometheus = {
enable = mkEnableOption "Enable prometheus node";
};
@ -10,7 +12,10 @@ in {
exporters = {
node = {
enable = true;
enabledCollectors = [ "systemd" "cpu" ];
enabledCollectors = [
"systemd"
"cpu"
];
port = 9002;
};
};