tweak email
This commit is contained in:
parent
74f6ea21d9
commit
4472899fff
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue