nix-community / home-manager

Manage a user environment using Nix [maintainer=@rycee]
https://nix-community.github.io/home-manager/
MIT License
7.13k stars 1.84k forks source link

Archive folder configuration aka. `accounts.email.accounts.<name>.folders.archive` #6119

Open l0b0 opened 20 hours ago

l0b0 commented 20 hours ago

Description

This can be configured for Thunderbird:

accounts.email.accounts."my account".thunderbird.perIdentitySettings = id: {
  "mail.identity.id_${id}.archive_folder" = "imap://${accounts.email.accounts."my account".userName}@${accounts.email.accounts."my account".imap.host}/Archive";
};