--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; };
|
# # 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"; };
|
plex = { enable = true; openFirewall = true; group = "users"; };
|
||||||
# jellyfin = { enable = true; openFirewall = true; group = "users"; };
|
# jellyfin = { enable = true; openFirewall = true; group = "users"; };
|
||||||
#
|
#
|
||||||
|
|
@ -348,22 +348,11 @@ in
|
||||||
};
|
};
|
||||||
systemd.enable = true;
|
systemd.enable = true;
|
||||||
};
|
};
|
||||||
globalConfig = {
|
globalConfig = { scrape_interval = "5s"; };
|
||||||
scrape_interval = "5s";
|
|
||||||
};
|
|
||||||
scrapeConfigs = [
|
scrapeConfigs = [
|
||||||
{
|
{ job_name = "node"; static_configs = [{ targets = [ "localhost:${toString config.services.prometheus.exporters.node.port}" ]; }]; }
|
||||||
job_name = "node";
|
{ job_name = "process"; static_configs = [{ targets = [ "localhost:${toString config.services.prometheus.exporters.process.port}" ]; }]; }
|
||||||
static_configs = [{ targets = [ "localhost:${toString config.services.prometheus.exporters.node.port}" ]; }];
|
{ job_name = "systemd"; static_configs = [{ targets = [ "localhost:${toString config.services.prometheus.exporters.systemd.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";
|
retentionTime = "15d";
|
||||||
};
|
};
|
||||||
|
|
@ -402,9 +391,6 @@ in
|
||||||
|
|
||||||
zramSwap.enable = true;
|
zramSwap.enable = true;
|
||||||
|
|
||||||
system = {
|
system.stateVersion = "24.05";
|
||||||
stateVersion = "24.05";
|
|
||||||
autoUpgrade.allowReboot = true;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,10 @@
|
||||||
{
|
{ pkgs, ... }: {
|
||||||
programs.mpv = {
|
# programs.mpv = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
bindings = {
|
# bindings = {
|
||||||
"Ctrl+Right" = "playlist-next";
|
# "Ctrl+Right" = "playlist-next";
|
||||||
"Ctrl+Left" = "playlist-prev";
|
# "Ctrl+Left" = "playlist-prev";
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
|
home.packages = [ pkgs.celluloid ];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue