diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-02-03 17:59:46 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-02-03 17:59:46 +0100 |
commit | dff61989aff5fa3e7fd430301cc0cebbe8731697 (patch) | |
tree | d7aee5cb8855325c3a3051831250f21c13f500f8 /modules/home.legacy/conf/mbsync/default.nix | |
parent | style(treewide): Format (diff) | |
download | nixos-config-dff61989aff5fa3e7fd430301cc0cebbe8731697.zip |
docs(modules/legacy/mbsync): Improve documentation of set options
Diffstat (limited to '')
-rw-r--r-- | modules/home.legacy/conf/mbsync/default.nix | 17 |
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 {}; } |