aboutsummaryrefslogtreecommitdiffstats
path: root/home-manager/config/mail
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-04-08 15:44:42 +0200
committerene <ene@sils.li>2023-04-08 15:44:42 +0200
commitffa07aa67b3bb1cdc05450e8da9f2affd6917a73 (patch)
tree352112fff28139194da6ce65ff2e5db71b78593b /home-manager/config/mail
parentChore(Flake): Update (diff)
downloadnixos-config-ffa07aa67b3bb1cdc05450e8da9f2affd6917a73.zip
Feat(hm/conf/mail): Add first mail account
Diffstat (limited to 'home-manager/config/mail')
-rw-r--r--home-manager/config/mail/default.nix53
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
+