summaryrefslogtreecommitdiff
path: root/common/home/accounts
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2024-09-18 19:44:11 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2024-09-18 19:44:11 +0200
commit71892be087e11e81ee3ad0579bf0ad4cdbf3bb21 (patch)
tree831da3f4cb44b2a7e455a82fe8d5849ea2e37ad2 /common/home/accounts
parent0b979e655d2834c2e5cf41cac75bb21b9e45a18d (diff)
first neomutt config
Diffstat (limited to 'common/home/accounts')
-rw-r--r--common/home/accounts/default.nix2
-rw-r--r--common/home/accounts/email.nix24
2 files changed, 25 insertions, 1 deletions
diff --git a/common/home/accounts/default.nix b/common/home/accounts/default.nix
index 43ce600..d5338dd 100644
--- a/common/home/accounts/default.nix
+++ b/common/home/accounts/default.nix
@@ -1,4 +1,4 @@
{ ... }:
{
- email.accounts = import ./email.nix;
+ email.accounts = import ./email.nix { };
}
diff --git a/common/home/accounts/email.nix b/common/home/accounts/email.nix
index 2b9b6c6..fd5f02c 100644
--- a/common/home/accounts/email.nix
+++ b/common/home/accounts/email.nix
@@ -1,10 +1,34 @@
{ ... }:
{
default = {
+ userName = "nathan@n8.uber.space";
address = "nathan@nathanreiner.xyz";
+ primary = true;
+ realName = "Nathan Reiner";
+ passwordCommand = "pass mail/nathan@nathanreiner.xyz";
+
+ smtp = {
+ host = "menkent.uberspace.de";
+ port = 465;
+ tls = {
+ enable = true;
+ };
+ };
+
+ imap = {
+ host = "menkent.uberspace.de";
+ port = 993;
+ tls = {
+ enable = true;
+ };
+ };
+
+ mbsync.enable = true;
+ msmtp.enable = true;
neomutt = {
enable = true;
+ showDefaultMailbox = true;
};
};
}