tweak email

This commit is contained in:
Nathan McCarty 2023-02-15 19:27:29 -05:00
parent 74f6ea21d9
commit 4472899fff
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
2 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ with lib; {
# For fun reasons this requires enabling the program and the service # For fun reasons this requires enabling the program and the service
programs.mbsync = { enable = true; }; programs.mbsync = { enable = true; };
services.mbsync = { services.mbsync = {
enable = true; enable = !config.nathan.programs.emacs.service;
frequency = "*:0/5"; frequency = "*:0/5";
# Index manually with mu if we don't have emacs setup, but if we have the emacs service setup, # Index manually with mu if we don't have emacs setup, but if we have the emacs service setup,
# run through emacsclient, as it will have the lock # run through emacsclient, as it will have the lock

View File

@ -1,3 +1,3 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Tell emacs to update mu4e # Tell emacs to update mu4e
emacsclient --eval "(mu4e-update-index)" || true emacsclient --eval "(mu4e-update-mail-and-index)" || true