about summary refs log tree commit diff stats
path: root/home-manager/config/mbsync/default.nix
blob: f0b5e9f56570dbd8ef491c880e3b6c41eeb1af2f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
  config,
  lib,
  ...
}: {
  # TODO I have no clue if both are needed, but it looks neat, right?
  programs.mbsync = {
    enable = true;
  };
  services.mbsync = {
    enable = true;
    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