diff options
-rw-r--r-- | user/emacs/init.el | 5 | ||||
-rw-r--r-- | user/settings/development/base.nix | 2 |
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 |