This commit is contained in:
illustris
2024-01-28 13:37:09 +05:30
parent 0f0c131294
commit c789b89793

View File

@@ -134,6 +134,26 @@
enable = true; enable = true;
settings.X11Forwarding = true; settings.X11Forwarding = true;
}; };
prometheus = {
enable = true;
exporters = {
node = {
enable = true;
enabledCollectors = [ "systemd" ];
};
};
scrapeConfigs = [
{
job_name = "node_exporter";
scrape_interval = "10s";
static_configs = [
{
targets = [ "localhost:${toString config.services.prometheus.exporters.node.port}" ];
}
];
}
];
};
qemuGuest.enable = true; qemuGuest.enable = true;
udev = { udev = {
# TODO: check if still needed # TODO: check if still needed
@@ -151,6 +171,14 @@
}; };
zfs.autoScrub.enable = true; zfs.autoScrub.enable = true;
}; };
# systemd = {
# # Disable autostart
# services.grafana = {
# wantedBy = lib.mkForce [];
# serviceConfig.SupplementaryGroups = [ config.users.groups.keys.name ];
# };
# services.docker.wantedBy = lib.mkForce [];
# };
time.timeZone = "Asia/Kolkata"; time.timeZone = "Asia/Kolkata";