about summary refs log tree commit diff stats
path: root/modules/home.legacy/conf/mail/accounts/benedikt.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/home.legacy/conf/mail/accounts/benedikt.nix')
-rw-r--r--modules/home.legacy/conf/mail/accounts/benedikt.nix48
1 files changed, 48 insertions, 0 deletions
diff --git a/modules/home.legacy/conf/mail/accounts/benedikt.nix b/modules/home.legacy/conf/mail/accounts/benedikt.nix
new file mode 100644
index 00000000..87ede61b
--- /dev/null
+++ b/modules/home.legacy/conf/mail/accounts/benedikt.nix
@@ -0,0 +1,48 @@
+{pkgs}: {
+  address = "benedikt.peetz@b-peetz.de";
+  userName = "benedikt.peetz@b-peetz.de";
+  realName = "Benedikt Peetz";
+  primary = true;
+  passwordCommand = "${pkgs.libsecret}/bin/secret-tool lookup account benedikt.peetz@b-peetz.de";
+  aliases = [
+    "@b-peetz.de"
+  ];
+  folders = {};
+  gpg = {
+    encryptByDefault = true;
+    key = "9A254A935C25B0419EAE495014D2BC012F572AD7";
+    signByDefault = true;
+  };
+  signature = {
+    # TODO:
+  };
+  neomutt = {
+    enable = true;
+  };
+  mbsync = {
+    enable = true;
+    create = "both";
+  };
+  # himalaya = {
+  #   enable = true;
+  #   backend = "imap";
+  #   sender = "smtp";
+  #   settings = {
+  #     # TODO:
+  #   };
+  # };
+  smtp = {
+    host = "server1.vhack.eu";
+    port = 465;
+  };
+  imap = {
+    host = "server1.vhack.eu";
+    port = 993;
+  };
+  jmap = {
+    # TODO:
+  };
+  maildir = {
+    path = "bpeetz";
+  };
+}