diff --git a/hosts/cube/forgejo/default.nix b/hosts/cube/forgejo/default.nix index 53e734f..fb074c0 100644 --- a/hosts/cube/forgejo/default.nix +++ b/hosts/cube/forgejo/default.nix @@ -72,7 +72,7 @@ in systemConfiguration { services.forgejo = enabled { lfs = enabled; - mailerPasswordFile = config.secrets.forgejoMailPassword.path; + secrets.mailer.PASSWD = config.secrets.forgejoMailPassword.path; database = { socket = "/run/postgresql"; diff --git a/hosts/cube/prometheus.nix b/hosts/cube/prometheus.nix index 857b908..0e8c4c8 100644 --- a/hosts/cube/prometheus.nix +++ b/hosts/cube/prometheus.nix @@ -22,7 +22,7 @@ systemConfiguration { scrapeConfigs = with lib; let configToScrapeConfig = name: { config, ... }: pipe config.services.prometheus.exporters [ - (filterAttrs (const (value: value.enable or false))) + (filterAttrs (name: value: name != "minio" && name != "unifi-poller" && value.enable or false)) (mapAttrsToList (expName: expConfig: { job_name = "${expName}-${name}";