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