Support nix configuration

I suppose it was only a matter of time...
This commit is contained in:
William Carroll 2018-09-04 15:00:18 -04:00
parent a9fa9673dc
commit 0d6c0881a8
3 changed files with 14 additions and 0 deletions

View file

@ -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'

View file

@ -25,5 +25,6 @@
(require 'wpc-docker)
(require 'wpc-lisp)
(require 'wpc-haskell)
(require 'wpc-nix)
(require 'wpc-clojure)
(require 'wpc-javascript)

View file

@ -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