feat(accounts): add Fastmail configuration with Himalaya support
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m29s

This commit is contained in:
uttarayan21
2025-09-13 17:44:45 +05:30
parent 5dbf838765
commit 0cf69c3296
7 changed files with 64 additions and 7 deletions

View File

@@ -0,0 +1,39 @@
{config, ...}: {
sops = {
secrets."accounts/mail/fastmail" = {};
};
accounts.email = {
maildirBasePath = "Mail";
accounts = {
fastmail = rec {
maildir = {
path = "fastmail";
};
primary = true;
address = "email@uttarayan.me";
userName = address;
realName = "Uttarayan Mondal";
imap = {
host = "imap.fastmail.com";
port = 993;
tls.enable = true;
authentication = "login";
};
smtp = {
host = "smtp.fastmail.com";
port = 465;
tls.enable = true;
};
imapnotify = {
enable = true;
};
passwordCommand = ["cat" "${config.sops.secrets."accounts/mail/fastmail".path}"];
mbsync = {
enable = true;
create = "both";
};
};
};
};
services.mbsync.enable = true;
}