aboutsummaryrefslogtreecommitdiffstats
path: root/modules/home
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/home.legacy/conf/mbsync/default.nix17
1 files changed, 8 insertions, 9 deletions
diff --git a/modules/home.legacy/conf/mbsync/default.nix b/modules/home.legacy/conf/mbsync/default.nix
index ac9808c9..8418d92d 100644
--- a/modules/home.legacy/conf/mbsync/default.nix
+++ b/modules/home.legacy/conf/mbsync/default.nix
@@ -1,17 +1,16 @@
-{
- config,
- lib,
- ...
-}: {
- # TODO: I have no clue if both are needed, but it looks neat, right?
+{lib, ...}: {
+ # This configures the program in itself (i.e., sets-up a config file, etc.)
programs.mbsync = {
enable = true;
};
+
+ # This starts a systemd service to periodically sync mail
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
+
+ # Disable the timer, and only activate the service when neomutt starts
+ # Otherwise, the password command would prompt me to unlock the keepassxc database every
+ # time.
systemd.user.timers.mbsync = lib.mkForce {};
}