mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-13 19:57:19 +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}"))
|
(user-mail-address "${account.address}"))
|
||||||
''
|
''
|
||||||
);
|
);
|
||||||
smtpAccounts = ''
|
smtpAccountStrings = pkgs.lib.forEach (builtins.attrNames config.accounts.email.accounts) (account: " ${(smtpConfig account)} ");
|
||||||
'( ${(smtpConfig "leitso")}
|
smtpAccounts = "'( ${pkgs.lib.concatStrings smtpAccountStrings} )";
|
||||||
${(smtpConfig "gmail")}
|
|
||||||
${(smtpConfig "wnuke9")} )
|
|
||||||
'';
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue