Set up nix
Add nix-mode Set up nix Require nix
This commit is contained in:
parent
3313d96324
commit
c99cf97d63
4
emacs/.emacs.d/config/init-nix.el
Normal file
4
emacs/.emacs.d/config/init-nix.el
Normal file
@ -0,0 +1,4 @@
|
||||
;; -*- lexical-binding: t; -*-
|
||||
(use-package nix-mode)
|
||||
|
||||
(provide 'init-nix)
|
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user