summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/emacs/init.el5
-rw-r--r--user/settings/development/base.nix2
2 files changed, 2 insertions, 5 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))
diff --git a/user/settings/development/base.nix b/user/settings/development/base.nix
index 954d433f..64f52db9 100644
--- a/user/settings/development/base.nix
+++ b/user/settings/development/base.nix
@@ -11,7 +11,7 @@
     mosh
 
     nix-prefetch-scripts
-    nixfmt
+    alejandra # nix formatter
 
     httpie
     jq