Set up nix

Add nix-mode

Set up nix

Require nix
This commit is contained in:
Jeremy Isaac Dormitzer 2024-03-20 12:01:43 -04:00
parent 3313d96324
commit c99cf97d63
3 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,4 @@
;; -*- lexical-binding: t; -*-
(use-package nix-mode)
(provide 'init-nix)

View File

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

View File

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