chore: retract some mail options to default

This commit is contained in:
Julien Malka 2025-03-16 14:04:50 +01:00
parent aba9e52b15
commit fabe33ee1e
Signed by: Luj
GPG key ID: 6FC74C847011FD83

View file

@ -32,7 +32,7 @@ with lib;
}; };
programs.mbsync = { programs.mbsync = {
enable = true; enable = lib.mkDefault true;
package = pkgs.unstable.isync; package = pkgs.unstable.isync;
}; };
@ -128,16 +128,17 @@ with lib;
}; };
services.mbsync = { services.mbsync = {
enable = true; enable = lib.mkDefault true;
frequency = "minutely"; frequency = "minutely";
package = pkgs.unstable.isync; package = pkgs.unstable.isync;
}; };
services.mbsync.postExec = "${pkgs.notmuch}/bin/notmuch new"; services.mbsync.postExec = lib.mkDefault "${pkgs.notmuch}/bin/notmuch new";
programs.notmuch = { programs.notmuch = {
enable = true; enable = lib.mkDefault true;
new.tags = [ "new" ]; new.tags = [ "new" ];
hooks.postNew = '' hooks.postNew = lib.mkDefault ''
${pkgs.afew}/bin/afew --tag --new ${pkgs.afew}/bin/afew --tag --new
''; '';
}; };