--wip-- [skip ci]
This commit is contained in:
parent
0a769a2123
commit
4cdcd04a9c
2 changed files with 15 additions and 28 deletions
|
|
@ -85,7 +85,7 @@ in
|
|||
# # desktopManager.retroarch = { enable = true; package = pkgs.retroarchFull; };
|
||||
# # };
|
||||
#
|
||||
# fail2ban = { enable = true; bantime-increment.enable = true; };
|
||||
fail2ban = { enable = true; bantime-increment.enable = true; };
|
||||
plex = { enable = true; openFirewall = true; group = "users"; };
|
||||
# jellyfin = { enable = true; openFirewall = true; group = "users"; };
|
||||
#
|
||||
|
|
@ -348,22 +348,11 @@ in
|
|||
};
|
||||
systemd.enable = true;
|
||||
};
|
||||
globalConfig = {
|
||||
scrape_interval = "5s";
|
||||
};
|
||||
globalConfig = { scrape_interval = "5s"; };
|
||||
scrapeConfigs = [
|
||||
{
|
||||
job_name = "node";
|
||||
static_configs = [{ targets = [ "localhost:${toString config.services.prometheus.exporters.node.port}" ]; }];
|
||||
}
|
||||
{
|
||||
job_name = "process";
|
||||
static_configs = [{ targets = [ "localhost:${toString config.services.prometheus.exporters.process.port}" ]; }];
|
||||
}
|
||||
{
|
||||
job_name = "systemd";
|
||||
static_configs = [{ targets = [ "localhost:${toString config.services.prometheus.exporters.systemd.port}" ]; }];
|
||||
}
|
||||
{ job_name = "node"; static_configs = [{ targets = [ "localhost:${toString config.services.prometheus.exporters.node.port}" ]; }]; }
|
||||
{ job_name = "process"; static_configs = [{ targets = [ "localhost:${toString config.services.prometheus.exporters.process.port}" ]; }]; }
|
||||
{ job_name = "systemd"; static_configs = [{ targets = [ "localhost:${toString config.services.prometheus.exporters.systemd.port}" ]; }]; }
|
||||
];
|
||||
retentionTime = "15d";
|
||||
};
|
||||
|
|
@ -402,9 +391,6 @@ in
|
|||
|
||||
zramSwap.enable = true;
|
||||
|
||||
system = {
|
||||
stateVersion = "24.05";
|
||||
autoUpgrade.allowReboot = true;
|
||||
};
|
||||
system.stateVersion = "24.05";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue