mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 09:29:41 +08:00
meli: support jmap
Enabled when flavor == fastmail.com
This commit is contained in:
@@ -34,6 +34,13 @@ let
|
||||
send_mail = mkSmtp account;
|
||||
mailboxes = account.meli.mailboxAliases;
|
||||
}
|
||||
// lib.optionalAttrs (account.flavor == "fastmail.com") {
|
||||
server_username = account.userName;
|
||||
server_password_command = lib.concatMapStringsSep " " lib.escapeShellArg account.passwordCommand;
|
||||
format = "jmap";
|
||||
server_url = "https://api.fastmail.com/jmap/session";
|
||||
use_token = true;
|
||||
}
|
||||
// account.meli.settings
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user