summaryrefslogtreecommitdiff
path: root/common/home/accounts
diff options
context:
space:
mode:
Diffstat (limited to 'common/home/accounts')
-rw-r--r--common/home/accounts/default.nix2
-rw-r--r--common/home/accounts/email.nix62
2 files changed, 34 insertions, 30 deletions
diff --git a/common/home/accounts/default.nix b/common/home/accounts/default.nix
index d5338dd..635ad9c 100644
--- a/common/home/accounts/default.nix
+++ b/common/home/accounts/default.nix
@@ -1,4 +1,4 @@
{ ... }:
{
- email.accounts = import ./email.nix { };
+ email = import ./email.nix { };
}
diff --git a/common/home/accounts/email.nix b/common/home/accounts/email.nix
index da9be05..0c3de66 100644
--- a/common/home/accounts/email.nix
+++ b/common/home/accounts/email.nix
@@ -1,41 +1,45 @@
{ ... }:
{
- uberspace = {
- userName = "nathan@n8.uber.space";
- address = "nathan@nathanreiner.xyz";
- primary = true;
- realName = "Nathan Reiner";
- passwordCommand = "pass mail/nathan@nathanreiner.xyz";
+ maildirBasePath = ".local/share/mail";
- folders = {
- drafts = "Drafts";
- inbox = "INBOX";
- sent = "Sent";
- trash = "Trash";
- };
+ accounts = {
+ uberspace = {
+ 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;
+ folders = {
+ drafts = "Drafts";
+ inbox = "INBOX";
+ sent = "Sent";
+ trash = "Trash";
};
- };
- imap = {
- host = "menkent.uberspace.de";
- port = 993;
- tls = {
- enable = true;
+ smtp = {
+ host = "menkent.uberspace.de";
+ port = 465;
+ tls = {
+ enable = true;
+ };
};
- };
- mbsync.enable = true;
- msmtp.enable = true;
+ imap = {
+ host = "menkent.uberspace.de";
+ port = 993;
+ tls = {
+ enable = true;
+ };
+ };
+
+ mbsync.enable = true;
+ msmtp.enable = true;
- neomutt = {
- enable = true;
- showDefaultMailbox = true;
+ neomutt = {
+ enable = true;
+ showDefaultMailbox = true;
+ };
};
};
}