refactor(services/self_host): adding the monitor to the nixfmt

This commit is contained in:
Raphael 2026-03-08 18:01:45 +01:00
parent 2bc5f5ae65
commit e54c9c482f
No known key found for this signature in database

View file

@ -1,8 +1,8 @@
{
config,
pkgs,
lib,
...
config,
pkgs,
lib,
...
}:
let
@ -15,7 +15,7 @@ let
"grafana"
];
in
{
{
config = lib.mkIf cfg {
services = {
grafana = {
@ -212,7 +212,8 @@ in
};
};
schema_config = {
configs = [{
configs = [
{
from = "2024-01-01";
store = "tsdb";
object_store = "filesystem";
@ -221,7 +222,8 @@ in
prefix = "index_";
period = "24h";
};
}];
}
];
};
};
};
@ -277,7 +279,6 @@ in
};
};
systemd.services = {
alloy.serviceConfig.SupplementaryGroups = [ "systemd-journal" ];
process_exporter = {
@ -343,7 +344,5 @@ in
'';
};
};
}