Skip to content

Commit

Permalink
Add some nix packages
Browse files Browse the repository at this point in the history
  • Loading branch information
purcell committed Jan 17, 2018
1 parent a8a8c41 commit 47a49a2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions init.el
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@
(require 'init-yaml)
(require 'init-docker)
(require 'init-terraform)
(require 'init-nix)

(require 'init-paredit)
(require 'init-lisp)
Expand Down
12 changes: 12 additions & 0 deletions lisp/init-nix.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
(maybe-require-package 'nix-mode)
(maybe-require-package 'nix-sandbox)
(maybe-require-package 'nix-buffer)

(when (maybe-require-package 'nixos-options)
(when (maybe-require-package 'company-nixos-options)
(after-load 'company
(add-to-list 'company-backends 'company-nixos-options))))



(provide 'init-nix)

0 comments on commit 47a49a2

Please sign in to comment.