1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-29 19:17:45 +00:00

Fix deprecated option warnings

This commit is contained in:
RGBCube 2024-07-03 13:21:12 +03:00
parent 5384fa9731
commit f8da9c68e7
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
2 changed files with 2 additions and 2 deletions

View file

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

View file

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