--wip-- [skip ci]

This commit is contained in:
Filippo Berto 2024-06-02 12:14:11 +02:00
parent 0a769a2123
commit 4cdcd04a9c
2 changed files with 15 additions and 28 deletions

View file

@ -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";
}

View file

@ -1,9 +1,10 @@
{
programs.mpv = {
enable = true;
bindings = {
"Ctrl+Right" = "playlist-next";
"Ctrl+Left" = "playlist-prev";
};
};
{ pkgs, ... }: {
# programs.mpv = {
# enable = true;
# bindings = {
# "Ctrl+Right" = "playlist-next";
# "Ctrl+Left" = "playlist-prev";
# };
# };
home.packages = [ pkgs.celluloid ];
}