direnv.nix: init, move direnv to own file

This commit is contained in:
Charlie Root 2024-08-22 21:54:43 +02:00
commit 41530fa9eb
5 changed files with 31 additions and 7 deletions

View file

@ -0,0 +1,15 @@
_: {
programs.direnv = {
enable = true;
# PLEASE BE SILENT
silent = true;
# We want direnv to load in our nix dev shells
loadInNixShell = true;
# Integrations for all our shells
enableZshIntegration = true;
enableFishIntegration = true;
enableBashIntegration = true;
};
}

View file

@ -0,0 +1,3 @@
_: {
imports = [./direnv.nix];
}