nixos-config/home/shell/direnv.nix

15 lines
252 B
Nix
Raw Normal View History

2023-03-17 12:37:26 +01:00
{ config, pkgs, ... }:
{
programs.direnv = {
enable = true;
nix-direnv.enable = true;
};
# for .envrc's in child directories add "source_up"
# for them to pick up this config
home.file."dev/work/.envrc".text = ''
dotenv
'';
}