feat(email): enable mbsync and configure neomutt with sidebar and notmuch support
Some checks failed
Flake checker / Build Nix targets (push) Has been cancelled

This commit is contained in:
uttarayan21
2025-12-09 18:22:16 +05:30
parent 8bd6da8f75
commit c9456966bf
4 changed files with 23 additions and 8 deletions

View File

@@ -35,5 +35,8 @@
}; };
}; };
}; };
programs.mbsync.enable = true;
services.mbsync.enable = true;
# accounts.email.accounts.<name>.mbsync.create
# services.mbsync.enable = true; # services.mbsync.enable = true;
} }

View File

@@ -21,10 +21,13 @@
./himalaya.nix ./himalaya.nix
./mpd.nix ./mpd.nix
./ncpamixer.nix ./ncpamixer.nix
./neomutt.nix
./neovim.nix
./nh.nix ./nh.nix
./nix-index.nix ./nix-index.nix
./nushell.nix ./nushell.nix
./omnix.nix ./omnix.nix
./opencode.nix
./retroarch.nix ./retroarch.nix
./rustup.nix ./rustup.nix
./ryujinx.nix ./ryujinx.nix
@@ -41,8 +44,6 @@
./yazi.nix ./yazi.nix
./yt-dlp.nix ./yt-dlp.nix
./zoxide.nix ./zoxide.nix
./neovim.nix
./opencode.nix
# ./goread.nix # ./goread.nix
# ./helix.nix # ./helix.nix

View File

@@ -1,13 +1,13 @@
{device, ...}: { {config, ...}: {
programs.himalaya = { programs.himalaya = {
enable = true; enable = true;
}; };
accounts.email.accounts.fastmail.himalaya = { accounts.email.accounts.fastmail.himalaya = {
enable = true; enable = true;
settings = { settings = {
downloads-dir = "${device.home}/Mail"; downloads-dir = "${config.home.homeDirectory}/Mail/fastmail";
backend.type = "maildir"; backend.type = "maildir";
backend.root-dir = "~/Mail"; backend.root-dir = "${config.home.homeDirectory}/Mail/fastmail";
}; };
}; };
} }

View File

@@ -1,9 +1,20 @@
{pkgs, ...}: { {pkgs, ...}: {
programs.neomutt = { programs.neomutt = {
enable = false; enable = true;
vimKeys = true; vimKeys = true;
editor = "nvim"; editor = "nvim";
# sidebar = { sidebar = {
# }; enable = true;
};
};
programs.notmuch = {
enable = true;
};
accounts.email.accounts.fastmail.neomutt = {
enable = true;
};
accounts.email.accounts.fastmail.notmuch = {
enable = true;
neomutt.enable = true;
}; };
} }