summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el5
1 files changed, 1 insertions, 4 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 948bfa6a..e0b4d24d 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -795,10 +795,7 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
 ;;;; nix
 (with-eval-after-load 'nix-mode
   (setq nix-mode-use-smie t
-        nix-indent-function #'smie-indent-line)
-  (general-add-hook 'nix-mode-hook
-                    (lambda ()
-                      (add-hook 'before-save-hook #'nix-mode-format 0 'local))))
+        nix-indent-function #'smie-indent-line))
 
 (use-package nix-update
   :commands (nix-update-fetch))