From 714293a133a0a547ec71e34d5341d30f719f1d1f Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Wed, 13 Mar 2024 14:21:18 +0800 Subject: [PATCH] fix: typo --- hosts/idols-ruby/prometheus/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/idols-ruby/prometheus/default.nix b/hosts/idols-ruby/prometheus/default.nix index e3821838..4409c91b 100644 --- a/hosts/idols-ruby/prometheus/default.nix +++ b/hosts/idols-ruby/prometheus/default.nix @@ -122,7 +122,7 @@ # The smarthost and SMTP sender used for mail notifications. smtp_smarthost = "smtp.qq.com:465"; smtp_from = "$SMTP_SENDER_EMAIL"; - smtp_auth_myvars.username = "$SMTP_AUTH_USERNAME"; + smtp_auth_username = "$SMTP_AUTH_USERNAME"; smtp_auth_password = "$SMTP_AUTH_PASSWORD"; # smtp.qq.com:465 support SSL only, so we need to disable TLS here. # https://service.mail.qq.com/detail/0/310