From 71892be087e11e81ee3ad0579bf0ad4cdbf3bb21 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Wed, 18 Sep 2024 19:44:11 +0200 Subject: first neomutt config --- common/home/accounts/default.nix | 2 +- common/home/accounts/email.nix | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) (limited to 'common/home/accounts') 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; }; }; } -- cgit v1.2.3-70-g09d2