From 63016af831e1aeee0005bb9999ae12efe2eb4f55 Mon Sep 17 00:00:00 2001 From: Illia Pshonkin Date: Sun, 5 Jan 2025 01:11:11 +0100 Subject: [PATCH] nixos/victoriametrics: nixfmt --- nixos/modules/services/databases/victoriametrics.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/databases/victoriametrics.nix b/nixos/modules/services/databases/victoriametrics.nix index 78b6025c652c0..e9e0a70422b76 100644 --- a/nixos/modules/services/databases/victoriametrics.nix +++ b/nixos/modules/services/databases/victoriametrics.nix @@ -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;