about summary refs log tree commit diff stats
path: root/home-manager/config/neomutt/default.nix
blob: 5d1152c1365e39d33779896d65e562cfddd6cd3f (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}/bin/neomutt;
    '';
    vimKeys = true;
    checkStatsInterval = 60;
    binds = [
      {
        action = "imap-fetch-mail";
        key = "g";
        map = ["index"];
      }
    ];
  };
}
# vim: ts=2