diff options
Diffstat (limited to '')
-rw-r--r-- | home-manager/config/default.nix | 1 | ||||
-rw-r--r-- | home-manager/config/mail/default.nix | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/home-manager/config/default.nix b/home-manager/config/default.nix index 34b1d3ea..63426505 100644 --- a/home-manager/config/default.nix +++ b/home-manager/config/default.nix @@ -14,6 +14,7 @@ ./latexindent ./less ./lf + ./mail ./mako ./mpd ./mpv 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 + |