diff options
Diffstat (limited to 'home-manager/config/mail')
-rw-r--r-- | home-manager/config/mail/default.nix | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/home-manager/config/mail/default.nix b/home-manager/config/mail/default.nix new file mode 100644 index 00000000..51c01dbc --- /dev/null +++ b/home-manager/config/mail/default.nix @@ -0,0 +1,53 @@ +{ + config, + pkgs, + ... +}: { + accounts.email.accounts = { + soispha = { + address = "soispha@vhack.eu"; + name = "sosipha"; + userName = "soispha"; + realName = "Soispha"; + primary = true; + passwordCommand = "secret-tool lookup account soispha@vhack.eu"; + aliases = [ + "admin@vhack.eu" + ]; + folders = { + }; + gpg = { + encryptByDefault = true; + key = ""; # TODO add + signByDefault = true; + }; + signature = { + # TODO + }; + himalaya = { + enable = true; + backend = "imap"; + sender = "smtp"; + settings = { + # TODO + }; + }; + smtp = { + host = "smtp.vhack.eu"; + port = 465; + }; + imap = { + host = "imap.vhack.eu"; + port = 993; + }; + jmap = { + # TODO + }; + maildir = { + path = "soispha"; + }; + }; + }; +} +# vim: ts=2 + |