home/modules: add automation for direnv

This commit is contained in:
2025-03-24 14:23:43 +01:00
parent f09a1ee2d0
commit 7189c245b5
4 changed files with 55 additions and 4 deletions

View File

@@ -1,13 +1,11 @@
{ config, ... }:
{
imports = [
./auto-prune.nix
];
programs.direnv = {
enable = true;
enableZshIntegration = true;
nix-direnv.enable = true;
enableNushellIntegration = config.programs.nushell.enable;
auto-prune-allowed-dirs.enable = true;
};
}