1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-26 21:19:45 +01: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:
NomisIV 2022-02-21 23:20:44 +01:00 committed by Robert Helgesson
parent 8bdfa41b4e
commit 472e67d1bb
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
3 changed files with 14 additions and 0 deletions

View file

@ -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;

View file

@ -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'"

View file

@ -13,6 +13,12 @@ with lib;
settings = { default-page-size = 50; };
};
folders = {
inbox = "In";
sent = "Out";
drafts = "Drafts";
};
imap.port = 995;
smtp.port = 465;
};