nixos-config/system/home-manager/email.nix

28 lines
676 B
Nix
Raw Normal View History

{ config, ... }:
{
imports = [ ../../secrets/email.nix ];
accounts.email.maildirBasePath = "$HOME/.maildir";
programs.neomutt = {
enable = true;
sort = "date";
settings = {
imap_idle = "yes";
imap_check_subscribed = "yes";
mail_check = "90";
timeout = "15";
header_cache = "${config.xdg.cacheHome}/neomutt/headers";
message_cachedir = "${config.xdg.cacheHome}/bodies";
certificate_file = "${config.xdg.cacheHome}/certificates";
edit_headers = "yes";
charset = "UTF-8";
realname = "'Christoph Heiss'";
use_domain = "no";
use_from = "yes";
use_threads = "threads";
};
};
}