mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-12 19:27:17 +00:00
Automate adding of email accounts to emacs.
This commit is contained in:
parent
83050bd87d
commit
3397f5a039
1 changed files with 2 additions and 5 deletions
|
@ -503,11 +503,8 @@ in
|
|||
(user-mail-address "${account.address}"))
|
||||
''
|
||||
);
|
||||
smtpAccounts = ''
|
||||
'( ${(smtpConfig "leitso")}
|
||||
${(smtpConfig "gmail")}
|
||||
${(smtpConfig "wnuke9")} )
|
||||
'';
|
||||
smtpAccountStrings = pkgs.lib.forEach (builtins.attrNames config.accounts.email.accounts) (account: " ${(smtpConfig account)} ");
|
||||
smtpAccounts = "'( ${pkgs.lib.concatStrings smtpAccountStrings} )";
|
||||
in
|
||||
{
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue