Skip to content

Commit

Permalink
darwin: Configure direnv using nix
Browse files Browse the repository at this point in the history
  • Loading branch information
juanibiapina committed May 4, 2024
1 parent f830888 commit 545ce1b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
1 change: 0 additions & 1 deletion Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ brew "bat"
brew "coreutils"
brew "ctags"
brew "curlie"
brew "direnv"
brew "fd"
brew "fzf"
brew "gh"
Expand Down
7 changes: 7 additions & 0 deletions assets/nix/hosts/babbel/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@
# Create /etc/zshrc that loads the nix-darwin environment
programs.zsh.enable = true;

# Enable direnv
programs.direnv = {
enable = true;
silent = true;
nix-direnv.enable = true;
};

# Set Git commit hash for darwin-version.
system.configurationRevision = self.rev or self.dirtyRev or null;

Expand Down
4 changes: 0 additions & 4 deletions assets/zsh/plugins/direnv.sh

This file was deleted.

4 changes: 0 additions & 4 deletions dotfiles/direnv/.direnvrc

This file was deleted.

0 comments on commit 545ce1b

Please sign in to comment.