summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.org3
1 files changed, 2 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 7522d1f..e34a0e8 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -1456,7 +1456,8 @@ configuration files.
   (req-package nix-mode
     :mode (("\\.nix\\'" . nix-mode))
     :config (progn
-              (setq-local indent-tabs-mode nil)))
+              (add-hook 'nix-mode-hook (lambda ()
+                                         (setq-local indent-tabs-mode nil)))))
 
   (define-derived-mode xmonad-mode haskell-mode "XM")
   (add-to-list 'auto-mode-alist '("xmobarrc\\'" . xmonad-mode))