about summary refs log tree commit diff stats
path: root/home-manager/config/mbsync/default.nix
blob: bcc8b89fdc507e2a5be6cd431848f9bd7f81c2cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
  config,
  lib,
  ...
}: {
  # TODO I have no clue if both are needed, but it looks neat, right?
  programs.mbsync = {
    enable = true;
  };
  services.mbsync = {
    enable = true;
    # TODO enable after isync 1.5 drops
    #configFile = "${config.xdg.configHome}/mbsync/mbsync.conf";
  };
  # Disable the timer, and only activate it on neomutt start
  systemd.user.timers.mbsync = lib.mkForce {};
}
# vim: ts=2