about summary refs log tree commit diff stats
path: root/home-manager/config/mbsync/default.nix
blob: 6be4f57cc33970edbdf67c8f694f5d1e16d281e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
  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 {};
}