diff --git a/emacs/.emacs.d/config/init-nix.el b/emacs/.emacs.d/config/init-nix.el new file mode 100644 index 0000000..95f849c --- /dev/null +++ b/emacs/.emacs.d/config/init-nix.el @@ -0,0 +1,4 @@ +;; -*- lexical-binding: t; -*- +(use-package nix-mode) + +(provide 'init-nix) diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index b0606ea..fa3d4d6 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -106,6 +106,7 @@ (require 'init-groovy) (require 'init-terraform) (require 'init-docker) +(require 'init-nix) (require 'init-lua) (require 'init-run-command) (require 'init-aws) diff --git a/zsh/.zshenv b/zsh/.zshenv index 6a13aa0..c141694 100644 --- a/zsh/.zshenv +++ b/zsh/.zshenv @@ -35,3 +35,9 @@ if [ -d "/opt/homebrew/Caskroom/google-cloud-sdk" ]; then fi [[ -e "$HOME/.cargo/env" ]] && . "$HOME/.cargo/env" + +# Nix +if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then + . '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' +fi +# End Nix