1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-18 12:38:30 +02:00

himalaya: fix account.folders to new config syntax

This commit is contained in:
NomisIV 2022-05-30 21:04:13 +02:00
parent 64831f938b
commit bda2c80b4c
2 changed files with 11 additions and 7 deletions

View File

@ -14,10 +14,12 @@ let
name = account.realName; name = account.realName;
default = account.primary; default = account.primary;
inbox-folder = account.folders.inbox; mailboxes = {
sent-folder = account.folders.sent; inbox = account.folders.inbox;
draft-folder = account.folders.drafts; sent = account.folders.sent;
draft = account.folders.drafts;
# NOTE: himalaya does not support configuring the name of the trash folder # NOTE: himalaya does not support configuring the name of the trash folder
};
# FIXME: does not support disabling TLS altogether # FIXME: does not support disabling TLS altogether
# NOTE: does not accept sequence of strings for password commands # NOTE: does not accept sequence of strings for password commands

View File

@ -4,18 +4,20 @@ name = ""
["hm@example.com"] ["hm@example.com"]
default = true default = true
default-page-size = 50 default-page-size = 50
draft-folder = "Drafts"
email = "hm@example.com" email = "hm@example.com"
imap-host = "imap.example.com" imap-host = "imap.example.com"
imap-login = "home.manager" imap-login = "home.manager"
imap-passwd-cmd = "'password-command'" imap-passwd-cmd = "'password-command'"
imap-port = 995 imap-port = 995
imap-starttls = false imap-starttls = false
inbox-folder = "In"
name = "H. M. Test" name = "H. M. Test"
sent-folder = "Out"
smtp-host = "smtp.example.com" smtp-host = "smtp.example.com"
smtp-login = "home.manager" smtp-login = "home.manager"
smtp-passwd-cmd = "'password-command'" smtp-passwd-cmd = "'password-command'"
smtp-port = 465 smtp-port = 465
smtp-starttls = false smtp-starttls = false
["hm@example.com".mailboxes]
draft = "Drafts"
inbox = "In"
sent = "Out"