From 6ec552d06ad3f0c4fae7e39b48af95b98acba2ef Mon Sep 17 00:00:00 2001
From: Benedikt Peetz <benedikt.peetz@b-peetz.de>
Date: Mon, 3 Feb 2025 19:50:39 +0100
Subject: fix(modules/legacy/mail): Add missing `helper` attribute key

---
 modules/home.legacy/conf/mail/default.nix | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/home.legacy/conf/mail/default.nix b/modules/home.legacy/conf/mail/default.nix
index 5e35c002..9c2554ee 100644
--- a/modules/home.legacy/conf/mail/default.nix
+++ b/modules/home.legacy/conf/mail/default.nix
@@ -31,9 +31,9 @@
     # TODO: This will result in only one of them being defined, as we duplicate the
     # attribute key<2025-02-03>
     lib.mapAttrs' (_: value: {
-      name = "credential";
+      name = "credential.smtp://${value.smtp.host}:${builtins.toString value.smtp.port}";
       value = {
-        "smtp://${value.smtp.host}:${builtins.toString value.smtp.port}" = mkHelper value;
+        "helper" = mkHelper value;
       };
     })
     accounts;
-- 
cgit 1.4.1