diff options
author | William Carroll <wpcarro@gmail.com> | 2018-09-04T19·00-0400 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2018-09-04T19·00-0400 |
commit | 0d6c0881a81e2ba3a1cd88f8ae9dab6a86c966af (patch) | |
tree | 3e3c5bd1ecaef28955d2e1548cb13fb69288377f | |
parent | a9fa9673dc54ae99fbecff55fe1148ff0641571e (diff) |
Support nix configuration
I suppose it was only a matter of time...
-rw-r--r-- | configs/shared/zsh/.zshrc | 1 | ||||
-rw-r--r-- | emacs.d/init.el | 1 | ||||
-rw-r--r-- | emacs.d/wpc/packages/wpc-nix.el | 12 |
3 files changed, 14 insertions, 0 deletions
diff --git a/configs/shared/zsh/.zshrc b/configs/shared/zsh/.zshrc index 49452db76eaa..e5e9f53edb55 100644 --- a/configs/shared/zsh/.zshrc +++ b/configs/shared/zsh/.zshrc @@ -2,6 +2,7 @@ export META_DIR="${HOME}/urbint/meta" export DOTFILES="${HOME}/dotfiles" export ZSH="${HOME}/.oh-my-zsh" export PATH="${PATH}:${HOME}/.local/bin" +export NIX_PKGS="${HOME}/programming/nixpkgs/pkgs" # Put this here temporarily until we have a better place for it. export FPP_EDITOR='emacsclient -n' 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 |