about summary refs log tree commit diff stats
path: root/modules/home.legacy/conf/mbsync/default.nix
blob: ac9808c9cda426e125593a8e21af57c4ea9e33df (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 {};
}