about summary refs log tree commit diff stats
path: root/home-manager/config/neomutt/default.nix
blob: c87d63ec8d0c457ae4a09340ef608dd55b742aee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{pkgs, ...}: {
  programs.neomutt = {
    enable = true;
    package = pkgs.writeShellScriptBin "neomutt" ''
      systemctl --user start mbsync.service;
      ${pkgs.neomutt};
    '';
    vimKeys = true;
    checkStatsInterval = 60;
    binds = [
      {
        action = "imap-fetch-mail";
        key = "g";
        map = ["index"];
      }
    ];
  };
}
# vim: ts=2