added direnv

This commit is contained in:
2022-11-28 16:18:18 +01:00
parent f12ce19203
commit 16767b04bb
2 changed files with 11 additions and 0 deletions

10
extra-direnv.nix Normal file
View File

@@ -0,0 +1,10 @@
{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
direnv
];
programs.bash.interactiveShellInit = ''eval "$(direnv hook bash)"'';
}