mirror of
https://github.com/nix-community/home-manager
synced 2024-11-10 07:04:17 +00:00
himalaya: adjust code for v1.0.0-beta.3
This commit is contained in:
parent
0c65bfa3cf
commit
417015af0d
2 changed files with 8 additions and 8 deletions
|
@ -169,7 +169,7 @@ in {
|
|||
config.accounts.email.accounts;
|
||||
accountsConfig = lib.mapAttrs mkAccountConfig enabledAccounts;
|
||||
globalConfig = compactAttrs himalaya.settings;
|
||||
allConfig = globalConfig // accountsConfig;
|
||||
allConfig = globalConfig // { accounts = accountsConfig; };
|
||||
in tomlFormat.generate "himalaya-config.toml" allConfig;
|
||||
systemd.user.services = let
|
||||
inherit (config.services.himalaya-watch) enable environment settings;
|
||||
|
|
|
@ -1,32 +1,32 @@
|
|||
["hm@example.com"]
|
||||
[accounts."hm@example.com"]
|
||||
backend = "imap"
|
||||
default = true
|
||||
display-name = "H. M. Test"
|
||||
email = "hm@example.com"
|
||||
|
||||
["hm@example.com".folder.alias]
|
||||
[accounts."hm@example.com".folder.alias]
|
||||
drafts = "Drafts"
|
||||
inbox = "Inbox"
|
||||
sent = "Sent"
|
||||
trash = "Trash"
|
||||
|
||||
["hm@example.com".imap]
|
||||
[accounts."hm@example.com".imap]
|
||||
encryption = "tls"
|
||||
host = "imap.example.com"
|
||||
login = "home.manager"
|
||||
port = 993
|
||||
|
||||
["hm@example.com".imap.passwd]
|
||||
[accounts."hm@example.com".imap.passwd]
|
||||
cmd = "password-command"
|
||||
|
||||
["hm@example.com".message.send]
|
||||
[accounts."hm@example.com".message.send]
|
||||
backend = "smtp"
|
||||
|
||||
["hm@example.com".smtp]
|
||||
[accounts."hm@example.com".smtp]
|
||||
encryption = "tls"
|
||||
host = "smtp.example.com"
|
||||
login = "home.manager"
|
||||
port = 465
|
||||
|
||||
["hm@example.com".smtp.passwd]
|
||||
[accounts."hm@example.com".smtp.passwd]
|
||||
cmd = "password-command"
|
||||
|
|
Loading…
Reference in a new issue