about summary refs log tree commit diff
path: root/emacs.d
diff options
context:
space:
mode:
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