diff options
author | Soispha <soispha@vhack.eu> | 2023-04-15 18:28:54 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-05-09 19:30:46 +0200 |
commit | 9bb7a057de6ac772966d0b5e6c8d341d41e8e04f (patch) | |
tree | c4ab37588f6bf81b6356f8fdbf6186bcadd7b768 /home-manager/config/mbsync | |
parent | Fix(hm/conf/mail): Enable mbsync (diff) | |
download | nixos-config-9bb7a057de6ac772966d0b5e6c8d341d41e8e04f.tar.gz nixos-config-9bb7a057de6ac772966d0b5e6c8d341d41e8e04f.zip |
Fix(hm/conf/neomutt): Only update imap, when starting neomutt
Diffstat (limited to '')
-rw-r--r-- | home-manager/config/mbsync/default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/home-manager/config/mbsync/default.nix b/home-manager/config/mbsync/default.nix index c6851e21..f0b5e9f5 100644 --- a/home-manager/config/mbsync/default.nix +++ b/home-manager/config/mbsync/default.nix @@ -1,11 +1,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 |