summaryrefslogtreecommitdiff
path: root/config/emacs.org
diff options
context:
space:
mode:
Diffstat (limited to 'config/emacs.org')
-rw-r--r--config/emacs.org7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/emacs.org b/config/emacs.org
index 5bf4838..f54e70e 100644
--- a/config/emacs.org
+++ b/config/emacs.org
@@ -194,6 +194,7 @@ This is my org mode configuration, which also configures latex.
(org-babel-do-load-languages 'org-babel-load-languages
'((shell . t)
(python . t)
+ (nix . t)
(latex . t))))
#+end_src
As you can see, I only have one real entry in config here (I don't count requires even though
@@ -726,6 +727,12 @@ to Chromium if I have to:
(eww-search-prefix "https://google.com/search?q=" "Google prefix")
:hook ((eww-mode . (lambda () (local-set-key (kbd "y Y") #'eww-copy-page-url)))))
#+end_src
+** Nix Mode
+Load Nix mode so our exported website has syntax highlighting for Nix blocks.
+#+begin_src emacs-lisp :tangle ../nix/init.el
+ (use-package nix-mode
+ :mode "\\.nix\\'")
+#+end_src
** Org Roam
For all my mathematics and programming notes:
#+begin_src emacs-lisp :tangle ../nix/init.el