mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 14:40:29 +00:00
himalaya: add support for account.folders
Add support for `account.folders.(inbox|sent|draft)` in the himalaya account configuration. PR #2747
This commit is contained in:
parent
8bdfa41b4e
commit
472e67d1bb
3 changed files with 14 additions and 0 deletions
|
@ -14,6 +14,11 @@ let
|
|||
name = account.realName;
|
||||
default = account.primary;
|
||||
|
||||
inbox-folder = account.folders.inbox;
|
||||
sent-folder = account.folders.sent;
|
||||
draft-folder = account.folders.drafts;
|
||||
# NOTE: himalaya does not support configuring the name of the trash folder
|
||||
|
||||
# FIXME: does not support disabling TLS altogether
|
||||
# NOTE: does not accept sequence of strings for password commands
|
||||
imap-login = account.userName;
|
||||
|
|
|
@ -4,13 +4,16 @@ name = ""
|
|||
["hm@example.com"]
|
||||
default = true
|
||||
default-page-size = 50
|
||||
draft-folder = "Drafts"
|
||||
email = "hm@example.com"
|
||||
imap-host = "imap.example.com"
|
||||
imap-login = "home.manager"
|
||||
imap-passwd-cmd = "'password-command'"
|
||||
imap-port = 995
|
||||
imap-starttls = false
|
||||
inbox-folder = "In"
|
||||
name = "H. M. Test"
|
||||
sent-folder = "Out"
|
||||
smtp-host = "smtp.example.com"
|
||||
smtp-login = "home.manager"
|
||||
smtp-passwd-cmd = "'password-command'"
|
||||
|
|
|
@ -13,6 +13,12 @@ with lib;
|
|||
settings = { default-page-size = 50; };
|
||||
};
|
||||
|
||||
folders = {
|
||||
inbox = "In";
|
||||
sent = "Out";
|
||||
drafts = "Drafts";
|
||||
};
|
||||
|
||||
imap.port = 995;
|
||||
smtp.port = 465;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue