diff --git a/modules/programs/neomutt.nix b/modules/programs/neomutt.nix index d990f02e..f5e43698 100644 --- a/modules/programs/neomutt.nix +++ b/modules/programs/neomutt.nix @@ -116,7 +116,7 @@ let "${smtpProto}://${escape userName}@${smtp.host}${smtpPort}"; in { smtp_url = "'${smtpBaseUrl}'"; - smtp_pass = "'`${passCmd}`'"; + smtp_pass = ''"`${passCmd}`"''; }; genMaildirAccountConfig = account: diff --git a/tests/modules/programs/neomutt/hm-example.com-expected b/tests/modules/programs/neomutt/hm-example.com-expected index fceae5dc..9181612c 100644 --- a/tests/modules/programs/neomutt/hm-example.com-expected +++ b/tests/modules/programs/neomutt/hm-example.com-expected @@ -10,7 +10,7 @@ set mbox_type = Maildir set sort = "threads" # MTA section -set smtp_pass='`password-command`' +set smtp_pass="`password-command`" set smtp_url='smtps://home.manager@smtp.example.com'