about summary refs log tree commit diff
path: root/emacs.d
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2018-09-04T19·00-0400
committerWilliam Carroll <wpcarro@gmail.com>2018-09-04T19·00-0400
commit0d6c0881a81e2ba3a1cd88f8ae9dab6a86c966af (patch)
tree3e3c5bd1ecaef28955d2e1548cb13fb69288377f /emacs.d
parenta9fa9673dc54ae99fbecff55fe1148ff0641571e (diff)
Support nix configuration
I suppose it was only a matter of time...
Diffstat (limited to 'emacs.d')
-rw-r--r--emacs.d/init.el1
-rw-r--r--emacs.d/wpc/packages/wpc-nix.el12
2 files changed, 13 insertions, 0 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el
index 75cc0fc06ee7..b2fb4cfa3425 100644
--- a/emacs.d/init.el
+++ b/emacs.d/init.el
@@ -25,5 +25,6 @@
 (require 'wpc-docker)
 (require 'wpc-lisp)
 (require 'wpc-haskell)
+(require 'wpc-nix)
 (require 'wpc-clojure)
 (require 'wpc-javascript)
diff --git a/emacs.d/wpc/packages/wpc-nix.el b/emacs.d/wpc/packages/wpc-nix.el
new file mode 100644
index 000000000000..af439c442d63
--- /dev/null
+++ b/emacs.d/wpc/packages/wpc-nix.el
@@ -0,0 +1,12 @@
+;;; wpc-nix.el --- Nix support -*- lexical-binding: t -*-
+;; Author: William Carroll <wpcarro@gmail.com>
+
+;;; Commentary:
+;; Configuration to support working with Nix.
+
+;;; Code:
+(use-package nix-mode
+  :mode "\\.nix\\'")
+
+(provide 'wpc-nix)
+;;; wpc-nix.el ends here