summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.org5
-rw-r--r--init.el3
2 files changed, 8 insertions, 0 deletions
diff --git a/README.org b/README.org
index cf91620..40b1558 100644
--- a/README.org
+++ b/README.org
@@ -209,6 +209,11 @@ These settings ensure that block highlights aren't visible when collapsed.
:config
(setq rust-format-on-save t))
#+end_src
+*** Nix
+#+begin_src elisp
+ (use-package nix-mode
+ :mode "\\.nix\\'")
+#+end_src
* 42
** Header
#+begin_src elisp
diff --git a/init.el b/init.el
index 9eb7311..1dc5ecc 100644
--- a/init.el
+++ b/init.el
@@ -144,4 +144,7 @@
:config
(setq rust-format-on-save t))
+(use-package nix-mode
+ :mode "\\.nix\\'")
+
(load "~/.config/emacs/42header.el")