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:
parent
5384fa9731
commit
f8da9c68e7
2 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||
|
|
|
@ -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}";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue