diff --git a/instances/heimdall/configuration.nix b/instances/heimdall/configuration.nix index 5d8c37b..a75ffe7 100644 --- a/instances/heimdall/configuration.nix +++ b/instances/heimdall/configuration.nix @@ -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"; } diff --git a/modules/hm/mpv.nix b/modules/hm/mpv.nix index 512ac19..b1e0bba 100644 --- a/modules/hm/mpv.nix +++ b/modules/hm/mpv.nix @@ -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 ]; }