From 89ae70a05b7e4dd785e71b6103abf52b9ec41ceb Mon Sep 17 00:00:00 2001 From: larstvei Date: Mon, 12 Jun 2023 21:42:17 +0200 Subject: [PATCH] use-package nix-mode --- init.org | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/init.org b/init.org index a2554fd..d9ac7f4 100644 --- a/init.org +++ b/init.org @@ -207,8 +207,7 @@ (let* ((package--builtins nil) (packages - '(nix-mode ; Major mode for editing .nix files - olivetti ; Minor mode for a nice writing environment + '(olivetti ; Minor mode for a nice writing environment org ; Outline-based notes management and organizer org-bullets ; Show bullets in org-mode as UTF-8 characters org-msg ; Org mode to send and reply to email in HTML @@ -1466,6 +1465,17 @@ #+end_src +** Nix + + #+begin_src emacs-lisp + + ;; Major mode for editing .nix files + (use-package nix-mode + :defer t + :hook (nix-mode . eglot-ensure)) + + #+end_src + * Org-mode LaTeX export I like using the [[https://code.google.com/p/minted/][Minted]] package for source blocks in LaTeX. To make org use