set up neverest imap-to-maildir sync, switch himalaya to maildir backend

This commit is contained in:
2026-03-01 18:29:41 +00:00
parent 4f1d2fead7
commit b0d086a0e7
3 changed files with 10 additions and 7 deletions

View File

@@ -30,6 +30,7 @@
../../profiles/fzf.nix
../../profiles/git.nix
../../profiles/himalaya.nix
../../profiles/neverest.nix
../../profiles/home.nix
../../profiles/jjui.nix
../../profiles/jujutsu.nix

View File

@@ -11,16 +11,18 @@
};
accounts.email = {
accounts.icloud = {
accounts."christoph@schmatzler.com" = {
primary = true;
maildir.path = "christoph@schmatzler.com";
address = "christoph@schmatzler.com";
userName = "christoph.schmatzler@icloud.com";
realName = "Christoph Schmatzler";
passwordCommand = ["cat" "/run/secrets/tahani-email-password"];
imap = {
host = "imap.mail.me.com";
port = 993;
tls.enable = true;
folders = {
inbox = "INBOX";
drafts = "Drafts";
sent = "Sent Messages";
trash = "Deleted Messages";
};
smtp = {
host = "smtp.mail.me.com";

View File

@@ -6,13 +6,13 @@
}:
with lib; let
tomlFormat = pkgs.formats.toml {};
account = config.accounts.email.accounts.icloud;
account = config.accounts.email.accounts."christoph@schmatzler.com";
maildirPath = account.maildir.absPath;
in {
home.packages = [pkgs.neverest];
xdg.configFile."neverest/config.toml".source = tomlFormat.generate "neverest-config.toml" {
accounts.icloud = {
accounts."christoph@schmatzler.com" = {
default = true;
folder.filters = "all";