My nix-darwin and NixOS config
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: correct syntax

+2 -1
+2 -1
modules/grafana.nix
··· 47 47 job_name = "nextcloud"; 48 48 static_configs = [ { targets = [ "127.0.0.1:${toString config.services.prometheus.exporters.nextcloud.port}" ]; } ]; 49 49 } 50 - ++ lib.optional cfg.services.postgresql.enable { 50 + ++ lib.optional config.services.postgresql.enable { 51 51 job_name = "postgres"; 52 52 static_configs = [ { targets = [ "127.0.0.1:${toString config.services.prometheus.exporters.postgres.port}" ]; } ]; 53 53 }; ··· 88 88 port = 9187; 89 89 runAsLocalSuperUser = true; 90 90 }; 91 + 91 92 }; 92 93 93 94 # Nextcloud metrics token — generate in Nextcloud admin → Monitoring app,