diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 01e580d..c2c1469 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -74,6 +74,9 @@ One will be created if none exist." (add-hook 'prog-mode-hook 'indent-tab-hook) (add-hook 'sgml-mode-hook 'indent-spc-hook) +(add-hook 'nix-mode-hook #'(lambda () + (indent-spc-hook) + (setq-local tab-width 2))) (defun lisp-hook () (indent-spc-hook)