about summary refs log tree commit diff
path: root/modules/emacs/doom
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/emacs/doom/config.el15
-rw-r--r--modules/emacs/doom/init.el3
2 files changed, 8 insertions, 10 deletions
diff --git a/modules/emacs/doom/config.el b/modules/emacs/doom/config.el
index 1926627..51d1c47 100644
--- a/modules/emacs/doom/config.el
+++ b/modules/emacs/doom/config.el
@@ -196,13 +196,14 @@
 ;;; mu4e
 ;;
 
-(setq-hook! 'mu4e-main-mode-hook
-  mu4e-update-interval 30
-  message-send-mail-function #'message-send-mail-with-sendmail
-  message-sendmail-extra-arguments '("--read-envelope-from")
-  message-sendmail-f-is-evil t
-  send-mail-function #'sendmail-send-it
-  sendmail-program (executable-find "msmtp"))
+(after! mu4e
+  (setq sendmail-program (executable-find "msmtp")
+        send-mail-function #'smtpmail-send-it
+        message-sendmail-f-is-evil t
+        message-sendmail-extra-arguments '("--read-envelope-from")
+        message-send-mail-function #'message-send-mail-with-sendmail))
+
+(setq-hook! 'mu4e-main-mode-hook mu4e-update-interval 30)
 
 ;;
 ;;; Circe
diff --git a/modules/emacs/doom/init.el b/modules/emacs/doom/init.el
index 8b04fa7..5788fcc 100644
--- a/modules/emacs/doom/init.el
+++ b/modules/emacs/doom/init.el
@@ -68,14 +68,11 @@
        :lang
        (cc +lsp +tree-sitter)
        data
-       dhall
        emacs-lisp
        (go +lsp +tree-sitter)
        (haskell +lsp +tree-sitter)
-       java
        javascript
        (json +lsp +tree-sitter)
-       kotlin
        (latex +latexmk +cdlatex +lsp)
        markdown
        (nix +lsp +tree-sitter)

Consider giving Nix/NixOS a try! <3