use-package nix-mode

This commit is contained in:
larstvei 2023-06-12 21:42:17 +02:00
parent de923565b8
commit 89ae70a05b

View File

@ -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