about summary refs log tree commit diff
path: root/modules/emacs/doom
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-08-03 16:45:57 +0300
committerAzat Bahawi <azat@bahawi.net>2024-08-03 16:45:57 +0300
commitf19b1ca98cde69a3d58c467d16d6a7ba3d7ffbcd (patch)
tree55b42fbafe17f2efd3696fe994131936920ede14 /modules/emacs/doom
parent2024-08-03 (diff)
2024-08-03
Diffstat (limited to 'modules/emacs/doom')
-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