diff --git a/home-manager-modules/mails/default.nix b/home-manager-modules/mails/default.nix
index 29570c6..6a66024 100644
--- a/home-manager-modules/mails/default.nix
+++ b/home-manager-modules/mails/default.nix
@@ -10,6 +10,7 @@ with lib;
 
 
   config = mkIf cfg.enable {
+    home.packages = [ pkgs.notmuch-addrlookup ];
     programs.mbsync.enable = true;
     programs.neomutt.enable = true;
     programs.msmtp.enable = true;
diff --git a/home-manager-modules/mails/neomuttrc b/home-manager-modules/mails/neomuttrc
index 0a65921..729f93c 100644
--- a/home-manager-modules/mails/neomuttrc
+++ b/home-manager-modules/mails/neomuttrc
@@ -68,7 +68,7 @@ set nm_default_url = "notmuch:///home/julien/Maildir"
 macro index \\ "<vfolder-from-query>"
 set metoo=yes
 
-set query_command="notmuch-addrlookup --format=mutt '%s'"
+set query_command="notmuch-addrlookup --config /home/julien/.config/notmuch/default/config --format=mutt '%s'"
 set text_flowed
 
 set collapse_unread = no