summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@nullring.xyz>2026-03-06 18:29:41 -0800
committerPreston Pan <ret2pop@nullring.xyz>2026-03-06 18:29:41 -0800
commit0400fa407895d0cfa2fe0ab19d2d1a07631ded1d (patch)
tree45929ca81f5540f5c143168cc7c0c3a5aa52804f /config
parentbb8a3f99278f20a0ba3c9652c8b3f3bad0283878 (diff)
parentb1cc96139c2cc2c8de7c74884021f8645e54de87 (diff)
Merge branch 'chore/perfect-css'
Diffstat (limited to 'config')
-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