Skip to content

Commit

Permalink
nixos/victoriametrics: nixfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Sudokamikaze committed Jan 5, 2025
1 parent 8184e1d commit 63016af
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nixos/modules/services/databases/victoriametrics.nix
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,9 @@ in
startCLIList
++ lib.optionals (cfg.prometheusConfig != { }) [ "-promscrape.config=${prometheusConfigYml}" ]
++ lib.optional (cfg.basicAuthUsername != null) "-httpAuth.username=${cfg.basicAuthUsername}"
++ lib.optional (cfg.basicAuthPasswordFile != null) "-httpAuth.password=file://\${CREDENTIALS_DIRECTORY}/basic_auth_password"
++ lib.optional (
cfg.basicAuthPasswordFile != null
) "-httpAuth.password=file://\${CREDENTIALS_DIRECTORY}/basic_auth_password"
);

DynamicUser = true;
Expand Down

0 comments on commit 63016af

Please sign in to comment.