Skip to content

Commit

Permalink
direnv fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
anthr76 authored Jun 11, 2024
1 parent 4d0f326 commit f8746ec
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions home-manager/personalities/cli/direnv.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
programs.direnv.enable = true;
{config, ...}:{
programs.direnv = {
enable = true;
whitelist.prefix = [ "${config.home.homeDirectory}/dev" ];
config.warn_timeout = 0;
}
programs.direnv.nix-direnv.enable = true;
}

0 comments on commit f8746ec

Please sign in to comment.