about summary refs log tree commit diff stats
path: root/home-manager/config/neomutt/default.nix
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-04-15 18:28:54 +0200
committerSoispha <soispha@vhack.eu>2023-05-09 19:30:46 +0200
commit9bb7a057de6ac772966d0b5e6c8d341d41e8e04f (patch)
treec4ab37588f6bf81b6356f8fdbf6186bcadd7b768 /home-manager/config/neomutt/default.nix
parentFix(hm/conf/mail): Enable mbsync (diff)
downloadnixos-config-9bb7a057de6ac772966d0b5e6c8d341d41e8e04f.zip
Fix(hm/conf/neomutt): Only update imap, when starting neomutt
Diffstat (limited to 'home-manager/config/neomutt/default.nix')
-rw-r--r--home-manager/config/neomutt/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/home-manager/config/neomutt/default.nix b/home-manager/config/neomutt/default.nix
index 8b6fdc6d..c87d63ec 100644
--- a/home-manager/config/neomutt/default.nix
+++ b/home-manager/config/neomutt/default.nix
@@ -1,6 +1,10 @@
-{...}: {
+{pkgs, ...}: {
   programs.neomutt = {
     enable = true;
+    package = pkgs.writeShellScriptBin "neomutt" ''
+      systemctl --user start mbsync.service;
+      ${pkgs.neomutt};
+    '';
     vimKeys = true;
     checkStatsInterval = 60;
     binds = [